Class DocIdAugmenterFactory
java.lang.Object
org.apache.solr.response.transform.TransformerFactory
org.apache.solr.response.transform.DocIdAugmenterFactory
- All Implemented Interfaces:
NamedListInitializedPlugin
Augments the document with a
[docid] integer containing it's current (internal) id
in the lucene index. May be -1 if this document did not come from the index (ie: a
RealTimeGet from the transaction log)- Since:
- solr 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.response.transform.TransformerFactory
TransformerFactory.FieldRenamer -
Field Summary
Fields inherited from class org.apache.solr.response.transform.TransformerFactory
defaultFactories, defaultUserArgs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(String field, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req) Methods inherited from class org.apache.solr.response.transform.TransformerFactory
init
-
Constructor Details
-
DocIdAugmenterFactory
public DocIdAugmenterFactory()
-
-
Method Details
-
create
public DocTransformer create(String field, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req) - Specified by:
createin classTransformerFactory
-