LUCENE-3936: Rename StringIndexDocValues to DocTermsIndexDocValues

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325730 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Martijn van Groningen 2012-04-13 12:13:32 +00:00
parent 72b6543863
commit 002d4e40ff
1 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ public abstract class DocTermsIndexDocValues extends FunctionValues {
try {
termsIndex = FieldCache.DEFAULT.getTermsIndex(context.reader(), field);
} catch (RuntimeException e) {
throw new StringIndexException(field, e);
throw new DocTermsIndexException(field, e);
}
this.vs = vs;
}
@ -155,10 +155,10 @@ public abstract class DocTermsIndexDocValues extends FunctionValues {
};
}
public static final class StringIndexException extends RuntimeException {
public static final class DocTermsIndexException extends RuntimeException {
public StringIndexException(final String fieldName, final RuntimeException cause) {
super("Can't initialize StringIndex to generate (function) FunctionValues for field: " + fieldName, cause);
public DocTermsIndexException(final String fieldName, final RuntimeException cause) {
super("Can't initialize DocTermsIndex to generate (function) FunctionValues for field: " + fieldName, cause);
}
}