Hi all!

I will need your help guys.

We now need to know if the following definition is correct to have synonyms in 
query time and configured as managed resources, for the watson_text type that 
is the type used to indexed fields.

<fieldType name="watson_text" 
class="com.ibm.watson.hector.plugins.fieldtype.WatsonTextField" 
omitNorms="false" omitTermFreqAndPositions="false" indexed="true" 
termOffsets="true" stored="true" termPositions="true" termVectors="true">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.EnglishPossessiveFilterFactory"/>
<filter class="solr.KeywordMarkerFilterFactory" 
protected="lang/protwords_en.txt"/>
<filter class="solr.PorterStemFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.ManagedSynonymFilterFactory" managed="english"/>
<filter class="solr.StopFilterFactory" words="lang/stopwords_en.txt" 
ignoreCase="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.EnglishPossessiveFilterFactory"/>
<filter class="solr.KeywordMarkerFilterFactory" 
protected="lang/protwords_en.txt"/>
<filter class="solr.PorterStemFilterFactory"/>
</analyzer>
</fieldType>



Thank you, I'll wait your answer asap.

Cheers,

DM

Reply via email to