Hello,

I have some custom queries & scorer that need to able to construct the
"global" docIds (doc + docBase).

But when i use these in a QueryWrapperFilter they no longer work,
because QueryWrapperFilter.getDocIdSet uses a "private context"
(context.reader().getContext();) which always has a docBase of 0, and
this is definitely called for every segment as far as i can see, so
the correct docBase is lost here, I tried to naively change it to pass
the original context but that blows up in asserts, I don't really
understand how this all should work.

How do i get the correct docBase in scorers when using QueryWrappedFilter ?

Let me know if you want an example/test.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to