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 <sheng...@gmail.com> wrote:

> 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 instead of null / MatchAllDocsQuery(), it returns correct
> results back to me.
>
> I read the src code of DrillDownQuery, it says "using null /
> MatchAllDocsQuery() as base query is equal to a pure browsing query". I was
> assuming it should work with a particular set of drill down paths too, but
> it does not seem to be so.
>
> BTW - I am using Lucene 4.10.2
>

Reply via email to