lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject SynonymMap.Builder.add method
Date Mon, 10 Sep 2018 21:21:34 GMT
i am trying to understand the add method here

/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!//
//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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message