Any comments please?
Thanks
On 9/10/18 5:21 PM, baris.ka...@oracle.com wrote:
i am trying to understand the add method here
https://urldefense.proofpoint.com/v2/url?u=https-3A__lucene.apache.org_core_6-5F4-5F1_analyzers-2Dcommon_org_apache_lucene_analysis_synonym_SynonymMap.Builder.html&d=DwICaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=nlG5z5NcNdIbQAiX-BKNeyLlULCbaezrgocEvPhQkl4&m=gx_fm_PM8HtJte5j2BP3ZjtjQaw3Es0VjaNaxfHBFIk&s=PU0Pe1g1osmT_cIQepEV5jp4fQ1XTaOuc_EGPIbWPbo&e=
/public void add(CharsRef input,//
// CharsRef output,//
// boolean includeOrig)//
//Add a phrase->phrase synonym mapping. Phrases are character
sequences where words are separated with character zero (U+0000).
Empty words (two U+0000s in a row) are not allowed in the input nor
the output!//
//Parameters://
//input - input phrase//
//output - output phrase//
//includeOrig - true if the original should be included/
That means if the search string has the input expression, it looks for
all output expressions and treats them to be equivalent, right?
Best regards
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org