jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r831833 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryHits.java
Date Mon, 02 Nov 2009 09:22:57 GMT
Author: mreutegg
Date: Mon Nov  2 09:22:56 2009
New Revision: 831833

URL: http://svn.apache.org/viewvc?rev=831833&view=rev
Log:
JCR-2374: Use FieldSelector in LuceneQueryHits when reading UUID

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryHits.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryHits.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryHits.java?rev=831833&r1=831832&r2=831833&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryHits.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryHits.java
Mon Nov  2 09:22:56 2009
@@ -57,7 +57,8 @@
             return null;
         }
         int doc = scorer.doc();
-        NodeId id = new NodeId(reader.document(doc).get(FieldNames.UUID));
+        NodeId id = new NodeId(reader.document(
+                doc, FieldSelectors.UUID).get(FieldNames.UUID));
         return new ScoreNode(id, scorer.score(), doc);
     }
 



Mime
View raw message