I am using pysolr 3.1.0 to interface queries with the solr server. I am able to get the list of the search term entered. But I am not able to find an exact match.
I am using the below command
results = solr.search(packagename, rows=5000)
Any idea what changes I have to do in the query for exact match?
The issue with the query was that I had not mentioned the field or id in which the search was to be executed.
The query should be something like this
results = solr.search(' id:"searchstring" ')