You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-commits@lucene.apache.org by va...@apache.org on 2011/06/24 11:31:53 UTC

svn commit: r1139220 - in /lucene/pylucene/branches/branch_3x: CHANGES Makefile java/org/apache/pylucene/search/PythonFieldComparator.java

Author: vajda
Date: Fri Jun 24 09:31:53 2011
New Revision: 1139220

URL: http://svn.apache.org/viewvc?rev=1139220&view=rev
Log:
adapted to FieldComparator becoming generic

Modified:
    lucene/pylucene/branches/branch_3x/CHANGES
    lucene/pylucene/branches/branch_3x/Makefile
    lucene/pylucene/branches/branch_3x/java/org/apache/pylucene/search/PythonFieldComparator.java

Modified: lucene/pylucene/branches/branch_3x/CHANGES
URL: http://svn.apache.org/viewvc/lucene/pylucene/branches/branch_3x/CHANGES?rev=1139220&r1=1139219&r2=1139220&view=diff
==============================================================================
--- lucene/pylucene/branches/branch_3x/CHANGES (original)
+++ lucene/pylucene/branches/branch_3x/CHANGES Fri Jun 24 09:31:53 2011
@@ -1,18 +1,29 @@
 
-Version 3.0.0 ->
-----------------
+Version 3.2.0 -> 3.3.0
+----------------------
+ - using Lucene 3.3 sources
+ - adapted to FieldComparator becoming generic
+ - 
+
+Version 3.1.0 -> 3.2.0
+----------------------
+ - using Lucene 3.2 sources
+ - PyLucene built with JCC 2.9
+ - rearranged Lucene source checkout tree to reflect new constraints
+
+Version 3.0.0 -> 3.1.0
+----------------------
+ - using Lucene 3.1 sources
  - improved support for building on Windows with mingw32
  - added wininst target to Makefile
- - added port of ICUNormalizer2Filter using C++ ICU's Normalizer2 via PyICU
- - added port of ICUFoldingFilter using C++ ICU's Normalizer2 via PyICU
- - added port of ICUTransformFilter using C++ ICU's Transliterator via PyICU
- - PyLucene built with JCC 2.6
+ - added port of ICUNormalizer2Filter using C++ ICU's Normalizer2 via PyICU 1.1
+ - added port of ICUFoldingFilter using C++ ICU's Normalizer2 via PyICU 1.1
+ - added port of ICUTransformFilter using C++ ICU's Transliterator via PyICU 1.1
  - fixed "Lucene in Action" samples left over on old API
  - improved support for adding optional contrib modules
  - added --package java.util.regex to wrap constructors on PatternAnalyzer
  - fixed mansearch.py sample to reflect API changes
- - rearranged Lucene source checkout tree to reflect new constraints
- - 
+ - PyLucene built with JCC 2.8
 
 Version 2.9.0 -> 3.0.0
 ----------------------

Modified: lucene/pylucene/branches/branch_3x/Makefile
URL: http://svn.apache.org/viewvc/lucene/pylucene/branches/branch_3x/Makefile?rev=1139220&r1=1139219&r2=1139220&view=diff
==============================================================================
--- lucene/pylucene/branches/branch_3x/Makefile (original)
+++ lucene/pylucene/branches/branch_3x/Makefile Fri Jun 24 09:31:53 2011
@@ -307,7 +307,7 @@ clean:
 	rm -rf $(LUCENE)/build build
 
 realclean:
-	if test ! -d $(LUCENE)/.svn; then rm -rf $(LUCENE); else rm -rf $(LUCENE)/build; fi
+	if test ! -d $(LUCENE)/.svn; then rm -rf $(LUCENE_SRC); else rm -rf $(LUCENE)/build; fi
 	rm -rf build samples/LuceneInAction/index
 
 OS=$(shell uname)

Modified: lucene/pylucene/branches/branch_3x/java/org/apache/pylucene/search/PythonFieldComparator.java
URL: http://svn.apache.org/viewvc/lucene/pylucene/branches/branch_3x/java/org/apache/pylucene/search/PythonFieldComparator.java?rev=1139220&r1=1139219&r2=1139220&view=diff
==============================================================================
--- lucene/pylucene/branches/branch_3x/java/org/apache/pylucene/search/PythonFieldComparator.java (original)
+++ lucene/pylucene/branches/branch_3x/java/org/apache/pylucene/search/PythonFieldComparator.java Fri Jun 24 09:31:53 2011
@@ -23,7 +23,7 @@ import org.apache.lucene.index.IndexRead
  * @author Andi Vajda
  */
 
-public class PythonFieldComparator extends FieldComparator {
+public class PythonFieldComparator<T> extends FieldComparator<T> {
 
     private long pythonObject;
 
@@ -56,5 +56,5 @@ public class PythonFieldComparator exten
         throws IOException;
     public native void setNextReader(IndexReader reader, int docBase)
         throws IOException;
-    public native Comparable value(int slot);
+    public native T value(int slot);
 }