found out even more - if I mix up the negative path (boolean filter with
MUST_NOT) and normal path in drilldownpath, it does not work with base
query = MatchAllDocsQuery(). _However_, if I instead use a term query as
the base query, while everything else stays the same, the drilldown does
work.
On
Just found out more, drill down query will MatchAllDocsQuery as base query
will work if only one path is added, and starts to return empty results if
more than 1 path are added. This is very strange...
On Fri, Jul 24, 2015 at 12:12 PM, Sheng wrote:
> This is what I am going to achieve - runnin
This is what I am going to achieve - running a drill down query with
baseQuery = null / MatchAllDocsQuery(), and expecting the index returning
all the documents that matches the drill down path(s). So it returns
nothing back to me, however as long as I make the basequery to search a
specific term
Agree on span query.
Might try SpanNotQuery("record", "type", 0, 1)...
Find "record" but not if "type" comes one word after "record".
If you use LUCENE-5205's SpanQueryParser:
"record type"!~0,1
-Original Message-
From: Trejkaz [mailto:trej...@trypticon.org]
Sent: Thursday, July 23, 2