Greens
Greens

Reputation: 3057

Solr Last index time

How do I get solr last index time ?. Is there a query to get that or do I have any timestamps that I can go with or do I have to keep a note of the last indextime manually if I am running in the solrnet?.

Upvotes: 4

Views: 6103

Answers (2)

brjaga
brjaga

Reputation: 399

I always put <field name="updated" type="date" default="NOW"/> into my indexes. I will have to look into the LukeRequestHandler.

Upvotes: 3

JHS
JHS

Reputation: 7871

The LukeRequestHandler would give you the time in the lastModified field.

Have a look here for more details.

Upvotes: 2

Related Questions