Re: SpanTermQuery Issue

2014-10-03 Thread Ian Lea
Toronto != toronto. From the javadocs for StandardAnalyzer: Filters StandardTokenizer with StandardFilter, LowerCaseFilter and StopFilter, LowerCaseFilter does what you would expect. -- Ian. On Fri, Oct 3, 2014 at 3:52 AM, Xu Chu <1989ch...@gmail.com> wrote: > Hi everyone > > In the followi

SpanTermQuery Issue

2014-10-02 Thread Xu Chu
Hi everyone In the following piece of code, Query test1 returns result, while Query test2 does not return result!! Obviously “Toronto” is appearing in the doc. Can any one tell me what’s wrong? Thanks private static void testRAMSpam() throws IOException { RAMDirecto

Re: SpanTermQuery issue?

2005-06-01 Thread yahootintin-lucene
Hi Erik, Here is the bug report with the test case: http://issues.apache.org/bugzilla/show_bug.cgi?id=35157 The scoring algorithm doesn't seem to work correctly when SpanTermQuerys are in a BooleanQuery. I will look for the problem. Any advice on what I should look for? Thanks, Reece --- Erik

Re: SpanTermQuery issue?

2005-06-01 Thread Erik Hatcher
On May 31, 2005, at 8:38 PM, Reece Wilton wrote: Hi, Using a BooleanQuery to combine two SpanTermQuery objects causes unexpected results on Lucene 1.9 RC1. Is this a problem that is already known about or has already been fixed? I have a test case and more info if this is a new issue. Inte

SpanTermQuery issue?

2005-06-01 Thread Reece Wilton
Hi, Using a BooleanQuery to combine two SpanTermQuery objects causes unexpected results on Lucene 1.9 RC1. Is this a problem that is already known about or has already been fixed? I have a test case and more info if this is a new issue. Thanks. ---