Hi,

i can't figure it out why I'm getting the "wrong" resulst when searching for
"iphone 3"  even if the 3 is not in the titel of the books that are
suggested.

Can I specifiy the search somehow?

The AND or OR operator didn't show any differences in the resultset.


Thanks,
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