lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1759965 - /lucene/pylucene/trunk/samples/ThreadIndexFiles.py
Date Fri, 09 Sep 2016 09:23:25 GMT
Author: vajda
Date: Fri Sep  9 09:23:25 2016
New Revision: 1759965

URL: http://svn.apache.org/viewvc?rev=1759965&view=rev
Log:
got ThreadIndexFiles.py to run

Modified:
    lucene/pylucene/trunk/samples/ThreadIndexFiles.py

Modified: lucene/pylucene/trunk/samples/ThreadIndexFiles.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/samples/ThreadIndexFiles.py?rev=1759965&r1=1759964&r2=1759965&view=diff
==============================================================================
--- lucene/pylucene/trunk/samples/ThreadIndexFiles.py (original)
+++ lucene/pylucene/trunk/samples/ThreadIndexFiles.py Fri Sep  9 09:23:25 2016
@@ -22,7 +22,6 @@ from datetime import datetime
 from IndexFiles import IndexFiles
 
 from org.apache.lucene.analysis.standard import StandardAnalyzer
-from org.apache.lucene.util import Version
 
 
 if __name__ == '__main__':
@@ -37,7 +36,7 @@ if __name__ == '__main__':
         env.attachCurrentThread()
         start = datetime.now()
         IndexFiles(sys.argv[1], os.path.join(base_dir, INDEX_DIR),
-                   StandardAnalyzer(Version.LUCENE_CURRENT))
+                   StandardAnalyzer())
         end = datetime.now()
         print end - start
 



Mime
View raw message