public class TimestampUpdateProcessorFactory extends AbstractDefaultValueUpdateProcessorFactory
 An update processor that adds a newly generated Date value 
 of "NOW" to any document being added that does not already have a value 
 in the specified field.
 
 In the example configuration below, if a document does not contain a value 
 in the timestamp field, a new Date will be 
 generated and added as the value of that field.
 
 
<processor class="solr.TimestampUpdateProcessorFactory"> <str name="fieldName">timestamp</str> </processor>
Date, 
CommonParams.NOWUpdateRequestProcessorFactory.RunAlwaysfieldName| Constructor and Description | 
|---|
| TimestampUpdateProcessorFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateRequestProcessor | getInstance(SolrQueryRequest req,
           SolrQueryResponse rsp,
           UpdateRequestProcessor next) | 
initpublic UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
getInstance in class UpdateRequestProcessorFactoryCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.