lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35157] - Inconsistent scoring with SpanTermQuery in BooleanQuery
Date Wed, 01 Jun 2005 18:48:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35157>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35157





------- Additional Comments From paul.elschot@xs4all.nl  2005-06-01 20:48 -------
Created an attachment (id=15251)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15251&action=view)
The same test case using a RAMDirectory

I think a SpanTermQuery is not intended to be used directly in a BooleanQuery,
and only SpanNearQuery, SpanNotQuery or SpanFirstQuery should be used
as subqueries of BooleanQuery.

Nevertheless, with the current javadocs, I think one would expect this
to work.

The attachment is in package org.apache.lucene.search.spans and it's adapted
to use a RAMDirectory, unchanged for the rest.

Regards,
Paul Elschot.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message