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 19:01:58 GMT
I did not see where it said that I saw this:
'AND', 'OR', 'NOT', and FieldNames are case sensitive. Terms are case
sensitive unless the lower case token filter is used during indexing and
search.
Field names are case sensitive.

Even if it is the query:

releaseability:Test R*

should be valid.

Thanks,

Rob


-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com]
Sent: Monday, November 18, 2002 1:53 PM
To: Lucene Users List
Subject: RE: Not getting any results from query


Aren't wildcards case sensitive?  Check the FAQ.

Otis

--- Rob Outar <routar@ideorlando.org> wrote:
> 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>
>


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

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


--
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