Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. IndexWriter.addDocument() has thrown an IllegalArgumentException
    Lucene Core
    1
    6
    0
  2. IndexWriter.updateDocument() has thrown an IllegalArgumentException
    Lucene Core
    1
    7
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.IllegalArgumentException: first position increment must be > 0 (got 0) for field 'text'
5 matching frames hidden
    at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1492)
    at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1271)
    at com.peikore.LuceneTest.lambda$writerIndex$0(LuceneTest.java:101)
    at java.util.ArrayList.forEach(ArrayList.java:1249)
2 frames hidden

External results for this pattern (7)

  1. letervia GitHub3 months ago
    position increments (and gaps) must be >= 0 (got 9404990) for field 'summary'
    Show stack trace
  2. xchechi123xvia GitHub4 months ago
    startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=1,endOffset=3,lastStartOffset=9 for field 'recommendations'
    Show stack trace
  3. first position increment must be > 0 (got 0) for field 'address'
    Show stack trace
  4. bolizavia GitHub8 months ago
    startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=1,en dOffset=5,lastStartOffset=4 for field 'content'
    Show stack trace
  5. yin-bpvia GitHub9 months ago
    startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=0,endOffset=34,lastStartOffset=31 for field 'detailName'
    Show stack trace
  6. ywjnovia GitHub1 year ago
    first position increment must be > 0 (got 0) for field 'text'
    Show stack trace
  7. milekplvia GitHub2 years ago
    startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=0,endOffset=0,lastStartOffset=253 for field 'field'
    Show stack trace