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=33725>.
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=33725





------- Additional Comments From [EMAIL PROTECTED]  2005-02-24 18:49 -------
Created an attachment (id=14357)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14357&action=view)
Additional test cases for when using a SpanOrQuery as the exclude option

Here's a patch file for

test/src/org/apache/lucene/search/spans/TestBasics.java

I added two test cases:

1. When there's only one SpanQuery in the SpanOrQuery
2. When there's more than one SpanQuery in the SpanOrQuery

There's also a commented out test for when you have an empty SpanOrQuery but
that currently throws an exception (complains that fields don't have the same
name) when you try to run it. 

I only used regular SpanTermQuery objects within the SpanOrQuery. I assume the
regular SpanOrQuery tests verify the SpanOrQuery works correctly with the
different span classes.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to