lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lu <chris...@gmail.com>
Subject IllegalArgumentException when IndexWriter.addDocument
Date Thu, 14 Jan 2010 21:38:45 GMT
Seems a integer overflow problem?

java.lang.IllegalArgumentException: Increment must be zero or greater: 
-472893952
  at 
org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl.setPositionIncrement(PositionIncrementAttributeImpl.java:58)
  at 
org.apache.lucene.analysis.StopFilter.incrementToken(StopFilter.java:256)
  at 
org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:188)
  at 
org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:246)
  at 
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:774)
  at 
org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:752)
  at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1931)
  at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1905)


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message