mirror of
https://github.com/apache/lucene.git
synced 2025-02-16 06:55:40 +00:00
- Bug 28858 - http://issues.apache.org/bugzilla/show_bug.cgi?id=28858
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c735ac4d00
commit
440be55927
@ -29,7 +29,7 @@ public abstract class FilteredTermEnum extends TermEnum {
|
||||
private Term currentTerm = null;
|
||||
private TermEnum actualEnum = null;
|
||||
|
||||
public FilteredTermEnum(IndexReader reader, Term term) throws IOException {}
|
||||
public FilteredTermEnum() throws IOException {}
|
||||
|
||||
/** Equality compare on the term */
|
||||
protected abstract boolean termCompare(Term term);
|
||||
|
@ -35,7 +35,7 @@ public final class FuzzyTermEnum extends FilteredTermEnum {
|
||||
int textlen;
|
||||
|
||||
public FuzzyTermEnum(IndexReader reader, Term term) throws IOException {
|
||||
super(reader, term);
|
||||
super();
|
||||
searchTerm = term;
|
||||
field = searchTerm.field();
|
||||
text = searchTerm.text();
|
||||
|
@ -45,7 +45,7 @@ public class WildcardTermEnum extends FilteredTermEnum {
|
||||
* <code>WILDCARD_CHAR</code> will cause an exception to be thrown.
|
||||
*/
|
||||
public WildcardTermEnum(IndexReader reader, Term term) throws IOException {
|
||||
super(reader, term);
|
||||
super();
|
||||
searchTerm = term;
|
||||
field = searchTerm.field();
|
||||
text = searchTerm.text();
|
||||
|
Loading…
x
Reference in New Issue
Block a user