Skip to the content
Documentation

Comment by Jani Tarvainen, 2016-05-24 12:57

No ratings yet

If you want to add a fieldtype that is unsearchable, then you can specify the indexable class to be the default one as here:

exponential.fieldtype.indexable.myfieldtypeidentifier:
 class: %exponential.fieldType.indexable.unindexed.class%
    tags:
 - {name: exponential.fieldType.indexable, alias: myfieldtypeidentifier}

Not doing so will lead to errors like this when running the Solr Create Index script:

[OutOfBoundsException]
No type registered for myfieldtypeidentifier.