mirror of https://github.com/apache/lucene.git
LUCENE-5675: rename
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595026 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
281e53b82b
commit
13f3c95c62
|
@ -166,7 +166,7 @@ public final class FieldReader extends Terms {
|
|||
if (compiled.type != CompiledAutomaton.AUTOMATON_TYPE.NORMAL) {
|
||||
throw new IllegalArgumentException("please use CompiledAutomaton.getTermsEnum instead");
|
||||
}
|
||||
return new IntersectEnum(this, compiled, startTerm);
|
||||
return new IntersectTermsEnum(this, compiled, startTerm);
|
||||
}
|
||||
|
||||
/** Returns approximate RAM bytes used */
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.apache.lucene.util.automaton.Transition;
|
|||
import org.apache.lucene.util.fst.FST;
|
||||
|
||||
// NOTE: cannot seek!
|
||||
final class IntersectEnum extends TermsEnum {
|
||||
final class IntersectTermsEnum extends TermsEnum {
|
||||
private final IndexInput in;
|
||||
|
||||
private Frame[] stack;
|
||||
|
@ -321,7 +321,7 @@ final class IntersectEnum extends TermsEnum {
|
|||
|
||||
// TODO: in some cases we can filter by length? eg
|
||||
// regexp foo*bar must be at least length 6 bytes
|
||||
public IntersectEnum(FieldReader fr, CompiledAutomaton compiled, BytesRef startTerm) throws IOException {
|
||||
public IntersectTermsEnum(FieldReader fr, CompiledAutomaton compiled, BytesRef startTerm) throws IOException {
|
||||
// if (DEBUG) {
|
||||
// System.out.println("\nintEnum.init seg=" + segment + " commonSuffix=" + brToString(compiled.commonSuffixRef));
|
||||
// }
|
Loading…
Reference in New Issue