Re: PhraseQuery and edit distance slightly confusing.

2006-03-15 Thread Dawid Weiss
Hi Doug, Yes, it should probably be called "edit-distance-like" or something. It should definitely say so in the JavaDoc because I've seen this propagate to people's articles (it was Eric Hatcher's I think, but I'm not sure). But what then would the criteria for matching at all be? Right

Re: PhraseQuery and edit distance slightly confusing.

2006-03-15 Thread Doug Cutting
Dawid Weiss wrote: I get the concept implemented in PhraseQuery but isn't calling it an edit distance a little bit far fetched? Yes, it should probably be called "edit-distance-like" or something. Only the marginal elements (minimum and maximum distance from their respective query positions)

PhraseQuery and edit distance slightly confusing.

2006-03-15 Thread Dawid Weiss
Hi there, I get the concept implemented in PhraseQuery but isn't calling it an edit distance a little bit far fetched? Only the marginal elements (minimum and maximum distance from their respective query positions) are taken into account. Consider this example: phrase: a b c d term p