Tom
Tom

Reputation: 769

Exact Search in Apache Solr

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

For example, I have three items, Samsung Tablet 7 "Tablet Samsung 10.1" and Samsung TV, searching only for Samsung TV it returns with the Samsung Tablet.

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

http://url-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+*]

Upvotes: 1

Views: 96

Answers (1)

leoh
leoh

Reputation: 10618

One option is to use eDisMax query with mm=100%

Upvotes: 1

Related Questions