Add TermFrequencyQuery [LUCENE-8304]
Open
legacy-jira-priority:Major
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
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.
---
Migrated from [LUCENE-8304](https://issues.apache.org/jira/browse/LUCENE-8304) by Alan Woodward (@romseygeek), updated Sep 03 2018
Attachments: [LUCENE-8304.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-8304/LUCENE-8304.patch)
Linked issues:
- #4468
Contributor guide
Assessment
This issue has not been assessed yet.