Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Lucene, mail # dev - Searching with "1"


Copy link to this message
-
Re: Searching with "1"
Yonik Seeley 2006-09-23, 00:47
On 9/22/06, djd0383 <[EMAIL PROTECTED]> wrote:
> And why would Lucene be doing that now?  That just doesn't seem to be the
> right thing to do.

It's often not the right thing to do, but it's all under your control.
 It depends on exactly what your analyzer looks like (what tokenizers
and tokenfilters you are using).

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server
> > On 9/22/06, djd0383 <[EMAIL PROTECTED]> wrote:
> >> Also, I forgot to mention, but the error is throwing a message implying
> >> it
> >> cannot search on null.
> >
> > The analyzer you are using is throwing away the "1" leaving nothing
> > left to search on.
> >
> > -Yonik

---------------------------------------------------------------------