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:
Michael McCandless 2014-05-15 19:56:00 +00:00
parent 281e53b82b
commit 13f3c95c62
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -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));
// }