You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Baris Kazar <ba...@oracle.com> on 2018/09/06 18:06:39 UTC

SynonymMap

Hi,-
how does SynonymMap deal with repeated values?
Best regards

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: SynonymMap

Posted by ba...@oracle.com.
Ok, it does data deduplication if it is set to true.

Best


On 9/10/18 1:11 PM, Michael McCandless wrote:
> The SynonymMap.Builder constructor takes a dedup parameter to tell it what
> to do in that case (when input and output are identical across added rules).
>
> Mike McCandless
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__blog.mikemccandless.com&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=nlG5z5NcNdIbQAiX-BKNeyLlULCbaezrgocEvPhQkl4&m=dsASFl-pzyOvkKrtvEgZb9GCCgOES1PuLqYds9VH6GI&s=1g1QvDMFYT_gctvteGesGu8v4ESORDHlGzgdOiMQAxE&e=
>
> On Thu, Sep 6, 2018 at 2:06 PM, Baris Kazar <ba...@oracle.com> wrote:
>
>> Hi,-
>> how does SynonymMap deal with repeated values?
>> Best regards
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: SynonymMap

Posted by Michael McCandless <lu...@mikemccandless.com>.
The SynonymMap.Builder constructor takes a dedup parameter to tell it what
to do in that case (when input and output are identical across added rules).

Mike McCandless

http://blog.mikemccandless.com

On Thu, Sep 6, 2018 at 2:06 PM, Baris Kazar <ba...@oracle.com> wrote:

> Hi,-
> how does SynonymMap deal with repeated values?
> Best regards
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>