pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1585129 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/lucene/IndexPDFFiles.java
Date Sat, 05 Apr 2014 16:07:30 GMT
Author: tilman
Date: Sat Apr  5 16:07:29 2014
New Revision: 1585129

URL: http://svn.apache.org/r1585129
Log:
PDFBOX-1836: update to latest lucene version

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/lucene/IndexPDFFiles.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/lucene/IndexPDFFiles.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/lucene/IndexPDFFiles.java?rev=1585129&r1=1585128&r2=1585129&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/lucene/IndexPDFFiles.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/lucene/IndexPDFFiles.java
Sat Apr  5 16:07:29 2014
@@ -102,8 +102,8 @@ public class IndexPDFFiles
             System.out.println("Indexing to directory '" + indexPath + "'...");
 
             Directory dir = FSDirectory.open(new File(indexPath));
-            Analyzer analyzer = new StandardAnalyzer(Version.LUCENE_46);
-            IndexWriterConfig iwc = new IndexWriterConfig(Version.LUCENE_46, analyzer);
+            Analyzer analyzer = new StandardAnalyzer(Version.LUCENE_47);
+            IndexWriterConfig iwc = new IndexWriterConfig(Version.LUCENE_47, analyzer);
 
             if (create)
             {



Mime
View raw message