lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1445048 - in /lucene/pylucene/trunk/java/org/apache/pylucene/search: PythonByteParser.java PythonDoubleParser.java PythonFloatParser.java PythonIntParser.java PythonLongParser.java PythonShortParser.java
Date Tue, 12 Feb 2013 08:09:14 GMT
Author: vajda
Date: Tue Feb 12 08:09:14 2013
New Revision: 1445048

URL: http://svn.apache.org/r1445048
Log:
added missing termsEnum() method

Modified:
    lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonByteParser.java
    lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonDoubleParser.java
    lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonFloatParser.java
    lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonIntParser.java
    lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonLongParser.java
    lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonShortParser.java

Modified: lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonByteParser.java
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonByteParser.java?rev=1445048&r1=1445047&r2=1445048&view=diff
==============================================================================
--- lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonByteParser.java (original)
+++ lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonByteParser.java Tue Feb 12
08:09:14 2013
@@ -15,6 +15,10 @@
 
 package org.apache.pylucene.search;
 
+import java.io.IOException;
+
+import org.apache.lucene.index.Terms;
+import org.apache.lucene.index.TermsEnum;
 import org.apache.lucene.search.FieldCache;
 import org.apache.lucene.util.BytesRef;
 
@@ -47,4 +51,6 @@ public class PythonByteParser implements
 
     public native void pythonDecRef();
     public native byte parseByte(BytesRef ref);
+    public native TermsEnum termsEnum(Terms terms)
+        throws IOException;
 }

Modified: lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonDoubleParser.java
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonDoubleParser.java?rev=1445048&r1=1445047&r2=1445048&view=diff
==============================================================================
--- lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonDoubleParser.java (original)
+++ lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonDoubleParser.java Tue Feb
12 08:09:14 2013
@@ -15,6 +15,10 @@
 
 package org.apache.pylucene.search;
 
+import java.io.IOException;
+
+import org.apache.lucene.index.Terms;
+import org.apache.lucene.index.TermsEnum;
 import org.apache.lucene.search.FieldCache;
 import org.apache.lucene.util.BytesRef;
 
@@ -47,4 +51,6 @@ public class PythonDoubleParser implemen
 
     public native void pythonDecRef();
     public native double parseDouble(BytesRef ref);
+    public native TermsEnum termsEnum(Terms terms)
+        throws IOException;
 }

Modified: lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonFloatParser.java
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonFloatParser.java?rev=1445048&r1=1445047&r2=1445048&view=diff
==============================================================================
--- lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonFloatParser.java (original)
+++ lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonFloatParser.java Tue Feb 12
08:09:14 2013
@@ -15,6 +15,10 @@
 
 package org.apache.pylucene.search;
 
+import java.io.IOException;
+
+import org.apache.lucene.index.Terms;
+import org.apache.lucene.index.TermsEnum;
 import org.apache.lucene.search.FieldCache;
 import org.apache.lucene.util.BytesRef;
 
@@ -47,4 +51,6 @@ public class PythonFloatParser implement
 
     public native void pythonDecRef();
     public native float parseFloat(BytesRef ref);
+    public native TermsEnum termsEnum(Terms terms)
+        throws IOException;
 }

Modified: lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonIntParser.java
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonIntParser.java?rev=1445048&r1=1445047&r2=1445048&view=diff
==============================================================================
--- lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonIntParser.java (original)
+++ lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonIntParser.java Tue Feb 12
08:09:14 2013
@@ -15,6 +15,10 @@
 
 package org.apache.pylucene.search;
 
+import java.io.IOException;
+
+import org.apache.lucene.index.Terms;
+import org.apache.lucene.index.TermsEnum;
 import org.apache.lucene.search.FieldCache;
 import org.apache.lucene.util.BytesRef;
 
@@ -47,4 +51,6 @@ public class PythonIntParser implements 
 
     public native void pythonDecRef();
     public native int parseInt(BytesRef ref);
+    public native TermsEnum termsEnum(Terms terms)
+        throws IOException;
 }

Modified: lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonLongParser.java
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonLongParser.java?rev=1445048&r1=1445047&r2=1445048&view=diff
==============================================================================
--- lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonLongParser.java (original)
+++ lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonLongParser.java Tue Feb 12
08:09:14 2013
@@ -15,6 +15,10 @@
 
 package org.apache.pylucene.search;
 
+import java.io.IOException;
+
+import org.apache.lucene.index.Terms;
+import org.apache.lucene.index.TermsEnum;
 import org.apache.lucene.search.FieldCache;
 import org.apache.lucene.util.BytesRef;
 
@@ -47,4 +51,6 @@ public class PythonLongParser implements
 
     public native void pythonDecRef();
     public native long parseLong(BytesRef ref);
+    public native TermsEnum termsEnum(Terms terms)
+        throws IOException;
 }

Modified: lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonShortParser.java
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonShortParser.java?rev=1445048&r1=1445047&r2=1445048&view=diff
==============================================================================
--- lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonShortParser.java (original)
+++ lucene/pylucene/trunk/java/org/apache/pylucene/search/PythonShortParser.java Tue Feb 12
08:09:14 2013
@@ -15,6 +15,10 @@
 
 package org.apache.pylucene.search;
 
+import java.io.IOException;
+
+import org.apache.lucene.index.Terms;
+import org.apache.lucene.index.TermsEnum;
 import org.apache.lucene.search.FieldCache;
 import org.apache.lucene.util.BytesRef;
 
@@ -47,4 +51,6 @@ public class PythonShortParser implement
 
     public native void pythonDecRef();
     public native short parseShort(BytesRef ref);
+    public native TermsEnum termsEnum(Terms terms)
+        throws IOException;
 }



Mime
View raw message