Re: Proximity searching with subexpressions

2007-05-09 Thread Mark Miller
The ~ syntax can only be applied to a single phrase, i.e. "the greate one"~3. This sets the slop allowed for the phrase to be 3. The defintion of slop can be found by searching the archive, but it will not easily allow for what you are looking for. The Lucene query language has not yet recived Spa

Proximity searching with subexpressions

2007-05-09 Thread Walt Stoneburner
According to the documentation for Lucene's Query Parser Syntax, the tilde operator provides a proximity search. For instance, "Harry Hallows"~6 should match the text 'Harry Potter and the Deathly Hallows'. And while this is fine for two token phrases, I was wondering if it worked well for subex