I am executing Search query
<query>
<edu>college</edu>
<studies>mathematics</studies>
</query>
The result is returned even for documents where values for <studies> is “mathematics and statistics”, “geometry in mathematics” etc. But my purpose is to get documents where in tag <studies> is value “mathematics” and nothing else.
Is there a possibility to search by exact text value?
For this purpose you should use exact-match operator ==”” and rule "exact-match=binary" for appropriate tag in policy configuration. Your query could look like:
This will return results where "studies" tag contains only "mathematics" as value and no other words.