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

2023-07-17 Thread Igor Kustov
Terms)); > return queryTerms; > } > > In topDocs you will have the matched documents. And in matchedTerms you > will have the corresponding terms that are matching. > I hope this helps you. > > Ned > > Von: Igor Kustov > Gesende

Access child boolean query matched terms in parent custom wrapper query

2023-07-17 Thread Igor Kustov
I'm writing custom lucene query which is basically a wrapper around boolean query with many should clauses. I want to access this boolean query's matched terms, and then either filter out this document depending on external statistics on those terms or proceed with this document without affecting