lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Outar" <rou...@ideorlando.org>
Subject RE: Not getting any results from query
Date Mon, 18 Nov 2002 18:43:36 GMT
Thanks for all the good information/advice everyone, have one more little
thing, below is my analyzer:

  public TokenStream tokenStream(String field, final Reader reader) {
        // do not tokenize any field
        TokenStream t = new CharTokenizer(reader) {
            protected boolean isTokenChar(char c) {
                return true;
            }
        };
		//case insensitive search
		t = new LowerCaseFilter(t);
        return t;
    }

Field name = releaseability Value = "Test Releaseability";

How the field is set up:

    doc.add(new Field("releaseability", "Test Releaseability", true, true,
true));

This query works:

releaseability:Test*

however this one does not:

releaseability:Test R*

Any ideas why?

Thanks,

Rob


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message