lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: IllegalArgumentException when IndexWriter.addDocument
Date Thu, 14 Jan 2010 21:47:16 GMT
Which analyzer are you using?

simon
On Thu, Jan 14, 2010 at 10:40 PM, Chris Lu <chris.lu@gmail.com> wrote:
> Notes: I am using Lucene 3.0
>>
>> 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
>
>

---------------------------------------------------------------------
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