[EMAIL PROTECTED] wrote:

It's not exactly an "or" query. It would be equivalent to an "or" if
there were only two terms involved.

Example query:

A B C D E

Matching documents:

A B C D E   score = 5
A B D E     score = 4
A C D E     score = 4
A C E       score = 3
A D         score = 2

etc.

Well, that's how the things work in Lucene, which provides the underlying scoring. The similarity score for OR queries depends on the number of matching clauses from the query.



We will probably end up implementing such a query for our Q&A project.

By all means it would be a useful addition - I just wanted to point out that the underlying index implementation already supports it the way you wanted.


--
Best regards,
Andrzej Bialecki

-------------------------------------------------
Software Architect, System Integration Specialist
CEN/ISSS EC Workshop, ECIMF project chair
EU FP6 E-Commerce Expert/Evaluator
-------------------------------------------------
FreeBSD developer (http://www.freebsd.org)



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to