Re: SpanNearQuery doesn't return document if the same word within query is repeated

2010-12-30 Thread viruslviv
Sorry, An error in post with query, correct one is (the code has correct version): (intend within 3 of messag) within 5 of messag within 3 of address. -- View this message in context: http://lucene.472066.n3.nabble.com/SpanNearQuery-doesn-t-return-document-if-the-same-word-within-query-is-re

SpanNearQuery doesn't return document if the same word within query is repeated

2010-12-30 Thread viruslviv
Hello Lucene community! I am working with Solr/Lucene tool near half of year, and faced with interesting issue with SpanNearQuery queries. Consider we have following text within document (you can find whole document text below): "intended recipient of this message or if this message has been a