If we are willing to write the code to change according to our requirement
here, Where and how we should proceed. Any heads-up that you can provide to
help achieve it.
Thanks.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
On 8/14/2018 5:35 AM, surya wrote:
> The following data is getting indexed-in to our solr.
>
> doc1:
> University of Virginia
> doc2:
> Katrina Uva
> doc3:
> University of new york
>
> synonym.txt
>University of Virginia, uva
>
> search term:
>University of Virginia
>
> Expected result:
Actual result:
doc1 and doc2
the second document is coming because the synonym term "uva" is matching
with doc2: Katrina Uva
Requirement:
We do not want to apply the synonym (uva) to bring the doc2 (Katrina Uva)
The following is our solr setup version 3.4 analyzers
/
The following data is getting indexed-in to our solr.
doc1:
University of Virginia
doc2:
Katrina Uva
doc3:
University of new york
synonym.txt
University of Virginia, uva
search term:
University of Virginia
Expected result:
doc1
Actual result:
doc1 and doc2
the second document