Author: natalia
Date: Sun May 18 09:08:49 2008
New Revision: 657576
URL: http://svn.apache.org/viewvc?rev=657576&view=rev
Log:
Updated lucene-core to version 2.3.2.
Added:
xml/xindice/trunk/lib/lucene-core-2.3.2.jar (with props)
Removed:
xml/xindice/trunk/lib/lucene-core-2.2.0.jar
Modified:
xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java
Modified:
xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java
URL:
http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java?rev=657576&r1=657575&r2=657576&view=diff
==============================================================================
---
xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java
(original)
+++
xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java
Sun May 18 09:08:49 2008
@@ -25,6 +25,7 @@
import org.apache.lucene.index.Term;
import org.apache.lucene.index.TermDocs;
import org.apache.lucene.index.TermPositions;
+import org.apache.lucene.index.TermVectorMapper;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.FieldSelector;
import org.apache.lucene.analysis.Analyzer;
@@ -61,7 +62,7 @@
private final SortedMap termMap;
protected NodeReader(NodeList list, Analyzer analyzer) {
- super(null);
+ super();
nodes = new ArrayList[list.getLength()];
@@ -81,7 +82,7 @@
try {
Token token;
while ((token = stream.next()) != null) {
- nodes[i].add(token.termText());
+ nodes[i].add(new String(token.termBuffer(), 0,
token.termLength()));
}
} catch (IOException e) {
// won't happen
@@ -104,6 +105,14 @@
throw new UnsupportedOperationException();
}
+ public void getTermFreqVector(int i, String string, TermVectorMapper
termVectorMapper) throws IOException {
+ throw new UnsupportedOperationException();
+ }
+
+ public void getTermFreqVector(int i, TermVectorMapper termVectorMapper)
throws IOException {
+ throw new UnsupportedOperationException();
+ }
+
public int numDocs() {
return nodes.length;
}
Added: xml/xindice/trunk/lib/lucene-core-2.3.2.jar
URL:
http://svn.apache.org/viewvc/xml/xindice/trunk/lib/lucene-core-2.3.2.jar?rev=657576&view=auto
==============================================================================
Binary file - no diff available.
Propchange: xml/xindice/trunk/lib/lucene-core-2.3.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream