You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2022/05/13 16:37:00 UTC

[jira] [Updated] (LUCENE-10570) Monitor Presearcher to reject registration of "ANYTOKEN" queries

     [ https://issues.apache.org/jira/browse/LUCENE-10570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris M. Hostetter updated LUCENE-10570:
----------------------------------------
    Attachment: LUCENE-10570.patch
        Status: Open  (was: Open)

Attaching patch w/tests for a really simple {{RejectUnconstrainedQueriesPresearcherWrapper}}

 

 

> Monitor Presearcher to reject registration of  "ANYTOKEN" queries
> -----------------------------------------------------------------
>
>                 Key: LUCENE-10570
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10570
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: monitor
>            Reporter: Chris M. Hostetter
>            Priority: Major
>         Attachments: LUCENE-10570.patch
>
>
> I'm starting to do some work with Monitor, and one of the things i realized I was going to want is an easy way to detect Queries that result in {{ANYTOKEN}} style QueryIndex documents – requiring a "forward search" test against every future {{match(Document)}} call.
> The simplest solution I could come up with is a Presearcher "wrapper" – something that might be generally useful for other users – but I'm certainly open to other approaches.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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