Hi Shilpa,

I am assuming you know the functionality of synonym.

Synonym in Solr can be applied over the tokens getting indexed/queried for
the field. In order to apply synonym to a field you need to update the
configuration file schema.xml where you also define a file (synonym.txt is
default, you can create per field separate file as well) which is keeping
synonym for your business requirement.

You can also define synonym to apply at index or query time or both for a
field. However if you applying at index time, then any new synonym addition
to synonym file, require to reindex the whole collection.

You could read more about synonym at here.

https://lucene.apache.org/solr/guide/6_6/filter-descriptions.html#FilterDescriptions-SynonymGraphFilter

Also a good blogs on multi word synonym.

https://lucidworks.com/2017/04/18/multi-word-synonyms-solr-adds-query-time-support/


On Fri, Jan 18, 2019, 21:44 Shilpa Solanki <shi...@matchmytalent.com wrote:

> Hello,
>
>  can you ask me how we use synonyms with apache solr.
>
>
> Thanks & Regards,
> Shilpa solanki
>
  • solr-query Shilpa Solanki
    • Re: solr-query Aman Tandon

Reply via email to