apache / apache/lucene

Add some sugar constructors to TermQuery [LUCENE-7632]

Open
#8,683 6 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

TermQuery should have constructors that take a field and term, in addition to the one taking a Term object. This has been annoying me for about five years now.

---
Migrated from [LUCENE-7632](https://issues.apache.org/jira/browse/LUCENE-7632) by Alan Woodward (@romseygeek), updated Jan 15 2017
Attachments: [LUCENE-7632.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7632/LUCENE-7632.patch)

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.