Reputation: 3572
I set up a Solr instance with some documents already indexed. I want to use filter query to query for certain documents by its url field. The q field is fed the wild card string, and the fq field is given the full url string.
q=*:*
fq=url:'mysite.com'
This query returns all documents that match url:com.
So any domain that ends in dot com is returned.
How do I get it to return only whole string matches, meaning documents in the domain mysite.com?
Upvotes: 1
Views: 1465