lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r331964 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/FieldCacheImpl.java
Date Wed, 09 Nov 2005 06:44:14 GMT
Author: otis
Date: Tue Nov  8 22:44:10 2005
New Revision: 331964

URL: http://svn.apache.org/viewcvs?rev=331964&view=rev
Log:
- Applied Yonik's patch from http://issues.apache.org/jira/browse/LUCENE-441

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/CHANGES.txt?rev=331964&r1=331963&r2=331964&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Tue Nov  8 22:44:10 2005
@@ -61,6 +61,10 @@
     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
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java?rev=331964&r1=331963&r2=331964&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java Tue Nov  8 22:44:10
2005
@@ -164,7 +164,7 @@
           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 @@
           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;



Mime
View raw message