Exact Search on Apache Solr

-1

Hello. I'm doing a search on Apache Solr but it returns me several items that are out of search.

For example, let's say I have three items, Tablet Samsung 7 ", Tablet Samsung 10.1" and TV Samsung, when searching only for Samsung TV it returns together with the Samsung Tablet.

How would the query to fetch Samsung Tablet 10.1 be and only return this item and not return the other tablets or the TV?

http://site.com/collection1/select?q=*tv%20samsung*&start=0&rows=16&sort=name+asc&wt=json&indent=true&facet=true&facet.field=cat_id&facet.field=atributos&facet.field=manu_id&fq=price:[0.01+TO+*]
    
asked by anonymous 23.04.2014 / 15:40

1 answer

0

The solution is simple, just add the following parameters in the search URL:

&defType=edismax&mm=100%25&stopwords=true&lowercaseOperators=true
    
24.04.2014 / 20:13