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
t: Montag, 17. Juli 2023 19:12 > An: java-user@lucene.apache.org > Betreff: Access child boolean query matched terms in parent custom wrapper > query > > I'm writing custom lucene query which is basically a wrapper around boolean > query with many should clauses. > > I want

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

2023-07-17 Thread nedyalko.zhe...@freelance.de.INVALID
he.org Betreff: Access child boolean query matched terms in parent custom wrapper query 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 docum

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