solr7

How to find exact keywords in solr search?

若如初见. 提交于 2021-01-04 08:49:58
问题 Actually I am facing one problem in solr search. There is an author field in which I stored two value like "deep kumar-singh" and "deep kumar singh". When I search the author:"deep kumar-singh" It returns both results. But I want only one result to be the exact one. Here is my field description: <field name="author" type="text_general" indexed="true" stored="true" multiValued="true"/> I created authorFacet Field to get author facet. <field name="authorFacet" type="string_ci" indexed="true"