Re: SpanNearQuery -- bug or feature?

2014-01-13 Thread Gregory Dearing
Piotr, The 'unordered' flag allows spans to be overlapping and still be a match. I believe this is a feature. It may seem unusual for a term to be 'near' itself, but it may be more intuitive if you consider spans that are more than one term long. spanNear( [spanNear([contents:test, contents:

Re: Unexpected returning false from IndexWriter.tryDeleteDocument

2014-01-13 Thread Derek Lewis
Hello again, I've been doing some further investigation, and once again, I'm stumped how we could have had this problem happen in the first place. I followed up on your mention of "one should not rely on when merges might happen", which seems like good advice. :) That said... We're always callin