# Custom index user data

**URL:** https://discuss.elastic.co/t/custom-index-user-data/12526
**Category:** Elasticsearch
**Created:** [June 24, 2013, 4:37pm UTC](https://discuss.elastic.co/t/custom-index-user-data/12526 "2013-06-24T16:37:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [June 24, 2013, 4:37pm UTC](https://discuss.elastic.co/t/custom-index-user-data/12526/1 "2013-06-24T16:37:50Z")

</div>

Hello all,

Trying to figure out what would be the best way to get the last  
modification date from an elasticsearch index.

I can store this data via user data in the Lucene index. The Engine module  
should be pluggable, so I can subclass the existing RobinEngine and commit  
my own user data, but the issue is returning the values.  
IndexStatus/IndexShardStatus are not pluggable, so I would need to create a  
whole new request/response family, which is too much work.

Is there a better way to get the last modification date?  
If not, would using user data be the best solution? I can create a patch,  
but I would hate to see a pull request ignored.

Cheers,

Ivan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:29am UTC](https://discuss.elastic.co/t/custom-index-user-data/12526/2 "2017-07-06T02:29:43Z")

</div>


