git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2005-11-09 06:44:10 +00:00
parent 2ce046a7a6
commit 495e885eee
2 changed files with 6 additions and 2 deletions

View File

@ -61,6 +61,10 @@ Changes in runtime behavior
See FSDirectory for getter/setter methods:
disableLuceneLocks
(Daniel Naber)
8. Minor change in FieldCacheImpl to make it use its own IntParser and
FloatParser inner classes.
(Yonik Seeley via Otis Gospodnetic)
New features

View File

@ -164,7 +164,7 @@ implements FieldCache {
do {
Term term = termEnum.term();
if (term.field() != field) break;
int termval = Integer.parseInt (term.text());
int termval = parser.parseInt(term.text());
termDocs.seek (termEnum);
while (termDocs.next()) {
retArray[termDocs.doc()] = termval;
@ -204,7 +204,7 @@ implements FieldCache {
do {
Term term = termEnum.term();
if (term.field() != field) break;
float termval = Float.parseFloat (term.text());
float termval = parser.parseFloat(term.text());
termDocs.seek (termEnum);
while (termDocs.next()) {
retArray[termDocs.doc()] = termval;