Re: PhraseQuery issues - differences with SpanNearQuery

2008-09-05 Thread Paul Elschot
Op Friday 05 September 2008 16:57:34 schreef Mark Miller: > Paul Elschot wrote: > > Op Thursday 04 September 2008 20:39:13 schreef Mark Miller: > >> Sounds like its more in line with what you are looking for. If I > >> remember correctly, the phrase query factors in the edit distance > >> in scorin

Re: PhraseQuery issues - differences with SpanNearQuery

2008-09-05 Thread Mark Miller
SpanScorer will use the similarity slop factor for each matching span size to adjust the effective frequency. Regards, Paul Elschot You have pointed this out to me before. One day I will remember Every time I look things over again I miss it, and I couldn't find that email in the archive

Re: PhraseQuery issues - differences with SpanNearQuery

2008-09-05 Thread Mark Miller
Paul Elschot wrote: Op Thursday 04 September 2008 20:39:13 schreef Mark Miller: Sounds like its more in line with what you are looking for. If I remember correctly, the phrase query factors in the edit distance in scoring, but the NearSpanQuery will just use the combined idf for each of the t

Re: PhraseQuery issues - differences with SpanNearQuery

2008-09-04 Thread Paul Elschot
Op Thursday 04 September 2008 20:39:13 schreef Mark Miller: > Sounds like its more in line with what you are looking for. If I > remember correctly, the phrase query factors in the edit distance in > scoring, but the NearSpanQuery will just use the combined idf for > each of the terms in it, so dis

Re: PhraseQuery issues - differences with SpanNearQuery

2008-09-04 Thread Mark Miller
Sounds like its more in line with what you are looking for. If I remember correctly, the phrase query factors in the edit distance in scoring, but the NearSpanQuery will just use the combined idf for each of the terms in it, so distance shouldnt matter with spans (I'm sure Paul will correct me

PhraseQuery issues - differences with SpanNearQuery

2008-09-04 Thread Yannis Pavlidis
Hi, I am having an issue when using the PhraseQuery which is best illustrated with this example: I have created 2 documents to emulate URLs. One with a URL of: "http://www.airballoon.com"; and title "air balloon" and the second one with URL "http://www.balloonair.com"; and title: "balloon air".