lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "finy finy" <softwin...@gmail.com>
Subject Re: hello, a question about solr.
Date Mon, 18 Aug 2008 07:33:02 GMT
the name field is text,which is analysed, i use the query
"name:ibmT63notebook"

2008/8/18, Shalin Shekhar Mangar <shalinmangar@gmail.com>:
>
> Hi,
>
> What is the type of the field "name"?
> Does a query like "name:ibm OR name:T63 OR name:notebook" work for you?
>
> On Mon, Aug 18, 2008 at 10:43 AM, finy finy <softwindow@gmail.com> wrote:
>
> > i use solr for 3 months, and i find some question follow:
> >
> > i check the solr source code, and find it uses lucene's QueryParser to
> > parse
> > user's input querystring
> >
> > for example, a query like this "name:ibmT63notebook" ,solr will parse it
> > like 'name:"ibm T63 notebook"' , it regard this as a PhrazeQuery,so it
> > will use PhrazeQuery.
> >
> > but i want to get a result which include "ibm" and "T63" and "notebook"
> at
> > any postion. for example ,it should match  some sentence like "i have a
> > notebook ,it is t63 of ibm"..
> >
> > but solr doesn't do that,it consider that queryparser as  a PhrazeQuery,
> > how
> > can i do that as my mind?
> >
> > thanks,
> > your friend!
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message