jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r558194 - in /jackrabbit/trunk: jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/ReadOnlyIndexReader.java pom.xml
Date Fri, 20 Jul 2007 23:09:02 GMT
Author: jukka
Date: Fri Jul 20 16:09:01 2007
New Revision: 558194

URL: http://svn.apache.org/viewvc?view=rev&rev=558194
Log:
JCR-788: Upgrade to Lucene 2.2
    - Applied patch from Fabrizio Giustina

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/ReadOnlyIndexReader.java
    jackrabbit/trunk/pom.xml

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/ReadOnlyIndexReader.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/ReadOnlyIndexReader.java?view=diff&rev=558194&r1=558193&r2=558194
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/ReadOnlyIndexReader.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/ReadOnlyIndexReader.java
Fri Jul 20 16:09:01 2007
@@ -256,5 +256,27 @@
         public int nextPosition() throws IOException {
             return ((TermPositions) this.in).nextPosition();
         }
+
+        /**
+         * @inheritDoc
+         */
+        public int getPayloadLength() {
+            return ((TermPositions) in).getPayloadLength();
+        }
+
+        /**
+         * @inheritDoc
+         */
+        public byte[] getPayload(byte data[], int offset) throws IOException {
+            return ((TermPositions) in).getPayload(data, offset);
+        }
+
+        /**
+         * @inheritDoc
+         */
+        public boolean isPayloadAvailable() {
+            return ((TermPositions) in).isPayloadAvailable();
+        }
+
     }
 }

Modified: jackrabbit/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/pom.xml?view=diff&rev=558194&r1=558193&r2=558194
==============================================================================
--- jackrabbit/trunk/pom.xml (original)
+++ jackrabbit/trunk/pom.xml Fri Jul 20 16:09:01 2007
@@ -730,7 +730,7 @@
       <dependency>
         <groupId>org.apache.lucene</groupId>
         <artifactId>lucene-core</artifactId>
-        <version>2.0.0</version>
+        <version>2.2.0</version>
       </dependency>
       <dependency>
         <groupId>org.apache.derby</groupId>



Mime
View raw message