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

Robert Muir commented on LUCENE-8304:
-------------------------------------

It is inefficient: because it takes as input something like "the" AND freq>50. 
Currently this is done like a very-slow conjunction (the index is not used).

Maybe it would help to explain the use-case better for this query.

> Add TermFrequencyQuery
> ----------------------
>
>                 Key: LUCENE-8304
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8304
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8304.patch
>
>
> This has come up a few times when writing query parsers.  It would be useful 
> to have a query that returned documents that match a term with a particular 
> frequency - eg, all docs where "patent" appears at least five times.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to