[ https://issues.apache.org/jira/browse/LUCENE-8304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16469098#comment-16469098 ]
Adrien Grand edited comment on LUCENE-8304 at 5/9/18 5:04 PM: -------------------------------------------------------------- Indeed. And they are sorted by increasing freq, so the first impact will have the min frequency of the block and the last one will have the max frequency. was (Author: jpountz): Indeed. And there are sorted by increasing freq, so the first impact will have the min frequency of the block and the last one will have the max frequency. > 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