: Problem here is, I have indexed a huge amount of data into solr in
: production. It would be a pain to edit the schema file and re-index all the
: values.
There's not much you can do about it in an already built index -- if the
field doesn't exist, it doesn't exist. Nothing magically/secretl
I didn't know of the default parameter. Thanks for sharing.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Know-indexing-time-of-a-document-tp4120051p4120108.html
Sent from the Solr - User mailing list archive at Nabble.com.
Problem here is, I have indexed a huge amount of data into solr in
production. It would be a pain to edit the schema file and re-index all the
values.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Know-indexing-time-of-a-document-tp4120051p4120103.html
Sent from the Solr
you could just add a field with default value NOW in schema.xml, for example
On Wed, Feb 26, 2014 at 10:44 PM, pratpor wrote:
> Is it possible to know the indexing time of a document in solr. Like there
> is
> a implicit field for "score" which automatically gets added to a document,
> is t
None that I know of, but you can easily have a date field with default
set to NOW. Or you can have an UpdateRequestProcessor that adds it in:
http://lucene.apache.org/solr/4_6_1/solr-core/org/apache/solr/update/processor/TimestampUpdateProcessorFactory.html
Regards,
Alex
Personal website: http: