I am debugging my Solr scheme, and I would like to see the results of the tokenization of a certain field.
For a simplified example, if I have:
<fieldType name="text" class="solr.TextField" omitNorms="false">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StandardFilterFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.PorterStemFilterFactory"/>
<filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="15" side="front"/>
</analyzer>
</fieldType>
and I indexed a field with a value "Hello, worlds!", I want to see something line by line:
hello world he el ll lo hel ell llo hell ello hello wo or rl ld wor orl rld worl orld
to make sure everything will be denoted as I assume.
Is it possible?
source
share