You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Elbek Kamoliddinov (Jira)" <ji...@apache.org> on 2021/01/05 03:23:00 UTC

[jira] [Commented] (LUCENE-9640) Add TrackingQuery to track matching documents

    [ https://issues.apache.org/jira/browse/LUCENE-9640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17258638#comment-17258638 ] 

Elbek Kamoliddinov commented on LUCENE-9640:
--------------------------------------------

Thanks Mike. {{QueryCache}} seems to be for the whole searcher instance, this would provide per query basis. user might have complex boolean query and only interested small part of this query to be tracked. I will check out {{Scorable.getChildren}}

> Add TrackingQuery to track matching documents
> ---------------------------------------------
>
>                 Key: LUCENE-9640
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9640
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/search
>            Reporter: Elbek Kamoliddinov
>            Priority: Major
>              Labels: query
>
> Some users benefit having {{TrackingQuery}} functionality. This query would wrap another query and should be able to provide the matched DocIds for the wrapped query after search is run.  For example a user running a boolean query {{A or B}} could wrap query {{A}} into {{TrackingQuery}} and run the boolean query and check if documents that matched the boolean query matches the query {{A}}.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org