> I'm having problem with searching phrase and using Surround > Query Parser, so > let look at input surround queries (test examples) > 1. "yellow orange" > 2. lemon 2n ("yellow orange") 4n banana > where 2n, 4n are within connectors.
You don't need phrasequery when you already have spannearquery. surround equivalent of "yellow orange" is yellow w orange lemon 2n ("yellow orange") 4n banana => lemon 2n (yellow w orange) 4n banana --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org