Package org.apache.solr.response.transform
package org.apache.solr.response.transform
APIs and implementations of
DocTransformer for
modifying documents in Solr request responses-
ClassDescriptionAttaches all descendants (child documents) to each parent document.Augments the document with a
[docid]integer containing it's current (internal) id in the lucene index.A DocTransformer can add, remove or alter a Document before it is written out to the Response.Trivial Impl that ensure that the specified field is requested as an "extra" field, but then does nothing during the transformation phase.Transform a document before it gets sent outUsed to mark whether a document has been elevated or notThis DocumentTransformer will write aShapeto the SolrDocument using the requested format.Simple Augmenter that adds the originalScoreReturn a field with a name that is different that what is indexedSimple Augmenter that adds the scoreThis transformer executes subquery per every result document.New instance for each requestTheTransformerFactory.FieldRenamerinterface should be implemented by anyTransformerFactorycapable 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).Add values from a ValueSource (function query etc)Fake scorer for a single document