apache / apache/lucene

Add TermFrequencyQuery [LUCENE-8304]

Open
#9,351 9 comments 0 reactions 1 assignee Claimed by @romseygeek View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.