Depends on how you define the synonym file.

See: https://lucene.apache.org/solr/guide/6_6/filter-descriptions.html

In particular:

There are two ways to specify synonym mappings:

        • A comma-separated list of words. If the token matches any of the 
words, then all the words in the list are substituted, which will include the 
original token.

        • Two comma-separated lists of words with the symbol "⇒" between them. 
If the token matches any word on the left, then the list on the right is 
substituted. The original token will not be included unless it is also in the 
list on the right.

> On May 8, 2020, at 1:10 PM, Jae Joo <jaejo...@gmail.com> wrote:
> 
> putting original term in the synonym list works.
> 
> 
> On Fri, May 8, 2020 at 1:05 PM atin janki <atinja...@gmail.com> wrote:
> 
>> Hi Jae,
>> 
>> Do try to explain your problem with an example. Also share how you are
>> writing the synonyms file.
>> Best Regards,
>> Atin Janki
>> 
>> 
>> On Fri, May 8, 2020 at 6:14 PM Jae Joo <jaejo...@gmail.com> wrote:
>> 
>>> In 8.3, There should be the way to preserve the original terms, but could
>>> not find it.
>>> 
>>> Does anyone know?
>>> 
>>> Thanks,
>>> 
>>> Jae
>>> 
>> 

Reply via email to