Hi, If you are writing your queries programmatically, (without using a query parser), nested proximity is possible with SpanQuery family. Actually there exists surround query parser for this. Please see o.a.lucene.queryparser.surround.parser.QueryParser
Proximity search uses position information. You can restrict how many other terms can exist between query terms. Ahmet On Monday, April 4, 2016 4:01 PM, lokesh mittal <lokeshmitta...@gmail.com> wrote: Hi I want to know how the proximity search in lucene works? Does lucene supports the nested proximity search? Thanks Lokesh --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org