Package org.apache.solr.response.transform
APIs and implementations of
DocTransformer
for
modifying documents in Solr request responses-
Interface Summary Interface Description TransformerFactory.FieldRenamer TheTransformerFactory.FieldRenamer
interface should be implemented by anyTransformerFactory
capable of generating transformers that might rename fields, and should implementTransformerFactory.FieldRenamer.create(String, SolrParams, SolrQueryRequest, Map, Set)
in place ofTransformerFactory.create(String, SolrParams, SolrQueryRequest)
(with the latter method overridden to throwUnsupportedOperationException
). -
Class Summary Class Description BaseEditorialTransformer ChildDocTransformerFactory Attaches all descendants (child documents) to each parent document.CoreAugmenterFactory DocIdAugmenterFactory Augments the document with a[docid]
integer containing it's current (internal) id in the lucene index.DocTransformer A DocTransformer can add, remove or alter a Document before it is written out to the Response.DocTransformer.NoopFieldTransformer Trivial Impl that ensure that the specified field is requested as an "extra" field, but then does nothing during the transformation phase.DocTransformers Transform a document before it gets sent outElevatedMarkerFactory Used to mark whether a document has been elevated or notExcludedMarkerFactory ExplainAugmenterFactory GeoTransformerFactory This DocumentTransformer will write aShape
to the SolrDocument using the requested format.RawValueTransformerFactory RenameFieldTransformer Return a field with a name that is different that what is indexedScoreAugmenter Simple Augmenter that adds the scoreShardAugmenterFactory SubQueryAugmenterFactory This transformer executes subquery per every result document.TransformerFactory New instance for each requestValueAugmenterFactory ValueSourceAugmenter Add values from a ValueSource (function query etc) -
Enum Summary Enum Description ExplainAugmenterFactory.Style ShardAugmenterFactory.Style