On 8/7/2019 6:39 AM, Khare, Kushal (MIND) wrote:
Hello People !
Hope you all are doing good !

Well, I am new to the solr server and want to use it for content search in one 
of my applications.
I have already been working upon it since quite a few days, and have the basics 
done.

The issue that I have is, I want my search to be restricted only upon the 
content and not the metadata. Currently, it return the document if the searched 
query is either in the content or the metadata.
So, please could anyone help me with this, as to how to search on these two 
fields independently.

The basic answer is that you need to adjust the query that you are sending to Solr. so that it doesn't search both fields.

To help further, we would have to know more details, including how your index is configured and what your queries are.

With default settings, Solr will log all queries to solr.log. By default they are not logged in a way that can be seen from the admin UI. The query logging in solr.log is quite complete, and would probably be enough for us to begin looking and know what additional questions we might need to ask.

Thanks,
Shawn

Reply via email to