I can't see a reason why it should be different, but:

This works
    <fieldType name="text_basic" class="solr.TextField">
        <analyzer>
            <tokenizer class="solr.LowerCaseTokenizerFactory" />
        </analyzer>
   </fieldType>

This does not:
    <fieldType name="text_basic" class="solr.TextField">
        <analyzer class="solr.SimpleAnalyzer"/>
    </fieldType>

This does work again:
    <fieldType name="text_basic" class="solr.TextField">
        <analyzer class="org.apache.lucene.analysis.core.SimpleAnalyzer"/>
    </fieldType>

Both LowerCaseTokenizerFactory and SimpleAnalyzer are in the same package.

Is this a bug or some sort of legacy decision?

Regards,
   Alex.
----
Newsletter and resources for Solr beginners and intermediates:
http://www.solr-start.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to