I am using the QueryParser class and for that query "test r*" it is forming
a boolean query, not a prefix query.  The problem is I allow clients to
search on whatever they define, if I knew the fields they were searching on
ahead of time then I could use classes that extend Query, but since I do not
know I am forced to use QueryParser class.

Thanks,

Rob


-----Original Message-----
From: Rob Outar [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 3:03 PM
To: Lucene Users List
Subject: RE: Not getting any results from query


Does not work either, I think it has something to do with the space between
the two words.

This fails test r*

but
test*r* works.

Understanding how the internal of Lucene work is one difficult task but this
group does help a lot.

Thanks,

Rob


-----Original Message-----
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 2:52 PM
To: Lucene Users List
Subject: RE: Not getting any results from query


How does releaseability:test r* work?
Returns anything?
http://www.jguru.com/faq/view.jsp?EID=538312

Otis


--- Rob Outar <[EMAIL PROTECTED]> wrote:
> 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:[EMAIL PROTECTED]]
> 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


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

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to