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 <[EMAIL PROTECTED]> 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.

Reply via email to