Re: CheckIndex: pos -1 is out of bounds

2008-03-30 Thread Michael McCandless
Interesting! I would be inclined to allow this, and fix CheckIndex's paranoia. As far as I can tell, Lucene itself does not mind if the position is -1 (at least PhraseQuery, SpanTermQuery happily find that Term at position -1), although we do prevent setting positionIncrement to a negat

Re: CheckIndex: pos -1 is out of bounds

2008-03-29 Thread Chris Hostetter
: Hey guys, a Solr user just encountered an interesting situation... sorry, i forgot to paste the refrence... http://www.nabble.com/WordDelimiterFilter%2BLenghtFilter-results-in-termPosition%3D%3D-1-to16306788.html -Hoss -