Hi,

i've set it to AND, restarted tomcat, but in my search i get the same
results. So it seems that this don't have an effect.

Any ideas?

Ramo

-----Ursprüngliche Nachricht-----
Von: Ahmet Arslan [mailto:iori...@yahoo.com] 
Gesendet: Mittwoch, 12. September 2012 00:34
An: solr-user@lucene.apache.org
Betreff: Re: Getting more proper results

> I'm using it that way, because I want to have an autocompletion list. 
> Now I'm wondering if I can influence some of the results I'm getting. 
> I have a lot of categories in my database. If I for example search for 
> "iphone 3" I would expect to get all iphone 3 from the category 
> electronic. If I'm searching for "iphone 3" I get the following 
> results "iPhone - the book" , "Apple iphone 4", "My iphone & I" , etc.

You can try to set your default operator to and. &q.op=AND

If you are not firing a phrase query (with quotes), you can do that too.
&q="iphone 3"

Reply via email to