Re: Using Proximity for Ranking
On Friday 24 September 2004 15:27, Olena Medelyan wrote: > I know that I can > use the slop operator for phrase search ("red fox"~3), but what I need > should work for partial matching as well. You can use the value of Integer.MAX_VALUE instead of 3 in your example, something like: +red +fox +"red fox"~2147483647^10 Nutch does that I think (you might want to search the archives), but I have no clue how fast/slow it is. Regards Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using Proximity for Ranking
not without changing the contents of the index structure to store word locations. Herb... -Original Message- From: Olena Medelyan [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 9:28 AM To: Lucene Users List Subject: Using Proximity for Ranking Dear Lucene-Users, is there any possibility to use proximity for long queries (10 and more terms) automatically? I need a kind of ranking feature, that would give higher relevance scores to those documents, that contain query terms (or some of query terms) with a lower distance between them. I know that I can use the slop operator for phrase search ("red fox"~3), but what I need should work for partial matching as well. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using Proximity for Ranking
Dear Lucene-Users, is there any possibility to use proximity for long queries (10 and more terms) automatically? I need a kind of ranking feature, that would give higher relevance scores to those documents, that contain query terms (or some of query terms) with a lower distance between them. I know that I can use the slop operator for phrase search ("red fox"~3), but what I need should work for partial matching as well. Thanks in advance for your help, O. Medelyan Albert-Ludwigs-Universitt, Computerlinguistik Friedrichstrae 50 D-79098 Freiburg im Breisgau Tel.: +49-761-203 3254, Fax.: +49-761-203 3251 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]