Interface IndexableModelItemType

All Superinterfaces:
ModelItemType, PluginAware
All Known Subinterfaces:
IndexableElementType<T>, SortableIndexableElementType<T>
All Known Implementing Classes:
BinaryIndexableElementType, BinaryRepositoryElementType, BooleanIndexableElementType, BooleanRepositoryElementType, ContentContentElementType, ContentIndexableElementType, ContentRepositoryElementType, DateIndexableElementType, DateRepositoryElementType, DateTimeIndexableElementType, DateTimeRepositoryElementType, DoubleIndexableElementType, DoubleRepositoryElementType, FileContentElementType, FileIndexableElementType, FileRepositoryElementType, GeocodeIndexableElementType, GeocodeRepositoryElementType, HTMLRichTextContentElementType, HTMLRichTextRepositoryElementType, LongIndexableElementType, LongRepositoryElementType, MultilingualStringIndexableElementType, MultilingualStringRepositoryElementType, PasswordRepositoryElementType, ReferenceContentElementType, ReferenceIndexableElementType, ReferenceRepositoryElementType, RichTextContentElementType, RichTextIndexableElementType, RichTextRepositoryElementType, StringIndexableElementType, StringRepositoryElementType, UserIndexableElementType, UserRepositoryElementType

public interface IndexableModelItemType extends ModelItemType
Interface for model item types that can be indexed
  • Method Details

    • indexValue

      void indexValue(org.apache.solr.common.SolrInputDocument document, org.apache.solr.common.SolrInputDocument rootObjectDocument, String fieldName, Object value, DataContext context)
      Index the given value in a solr document.
      Parameters:
      document - the solr document to index into.
      rootObjectDocument - the solr document of the root object.
      fieldName - the name of the indexing field
      value - the value to index
      context - the context of the data to index. Can not be null.