jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1491789 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndex.java
Date Tue, 11 Jun 2013 13:31:00 GMT
Author: alexparvulescu
Date: Tue Jun 11 13:31:00 2013
New Revision: 1491789

URL: http://svn.apache.org/r1491789
Log:
OAK-318 Excerpt support
 - making sure lucene doesn't get confused by the condition on the excerpt property

Modified:
    jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndex.java

Modified: jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndex.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndex.java?rev=1491789&r1=1491788&r2=1491789&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndex.java
(original)
+++ jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndex.java
Tue Jun 11 13:31:00 2013
@@ -301,6 +301,9 @@ public class LuceneIndex implements Full
                 // lucene cannot handle child-level property restrictions
                 continue;
             }
+            if ("rep:excerpt".equals(name)) {
+                continue;
+            }
 
             String first = null;
             String last = null;



Mime
View raw message