Hi,
The code I am working on is spending long time in this function:
Searcher.java:221 org.apache.lucene.search.IndexSearcher.search(Query, int,
Sort) 94400ms 95%
Query fed to the function looks ugly at first and I first thought that it
could be the culprit:
+body:/.*foo/ +((+dir1:foo +dir2:bar)
BooleanQuery can be nested, so you do a top-level BQ that has two clauses,
the first a TQ for a:x and the second another BQ that itself has two
clauses, both SHOULD.
-- Jack Krupansky
On Tue, Mar 8, 2016 at 4:38 AM, sandeep das wrote:
> Hi,
>
> I'm using lucene-5.2.0 and
Hi,
I'm using lucene-5.2.0 and in query interface I wish to compose a query
like
"a=x and (b=y or d=z)"
Which can be described as If any document has value "x" for field "a" and
field "b" has value "y" or field "d" has value "z" then that document
should be chosen. There are three fields in my