Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Promolinks are indexed in a solr Core. The configuration is located in $DATAFARI_HOME/solr/solr_home/Promolinks/conf

A Promolink contains five fields :

...

You can see all the existing Promolinks in the Admin UI. You can also add or delete or edit a Promolink on this page. This UI communicates with the admin servlet which communicates with the solr core.

 

...

The Solr fieldtype chosen for the field keywork is named capsuleType :

Code Block
languagexml
<fieldType name="capsuleType" class="solr.TextField"
positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory" />
<filter class="solr.ASCIIFoldingFilterFactory"/>
</analyzer>
</fieldType>

Basically it splits the token at each blank character, it puts the string in lowercases and removes the accentuated characters. So it supports multiple words.