Re: Access child boolean query matched terms in parent custom wrapper query

2023-07-17 Thread Mikhail Khludnev
Hello Igor, Accessing a potential match during scoring is problematic. Piggibacking on wrapped boolean query is not an option because when a certain docId is collected matching legs might reside on previous or next docID. You can check these for the inspiration https://lucene.apache.org/core/9_0_0/

Re: Access child boolean query matched terms in parent custom wrapper query

2023-07-17 Thread Igor Kustov
I want to access matched terms before they go to TopDocs somehow during search. Maybe I should write a custom collector? пн, 17 июл. 2023 г. в 20:54, nedyalko.zhe...@freelance.de.INVALID : > Hi Igor, > > I have similar situation and have written the following code: > > TopDocs topDocs = this.sear