# Providing Hit offsets

**URL:** <https://discuss.elastic.co/t/providing-hit-offsets/17597>\
**Category:** Elasticsearch\
**Created:** [May 19, 2014, 4:24pm UTC](https://discuss.elastic.co/t/providing-hit-offsets/17597 "2014-05-19T16:24:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neeraj\_Makam](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Neeraj\_Makam](https://discuss.elastic.co/u/Neeraj_Makam)\
**Post date:** [May 19, 2014, 4:24pm UTC](https://discuss.elastic.co/t/providing-hit-offsets/17597/1 "2014-05-19T16:24:04Z")

</div>

Hi,

I would like to know if there is a way to generate hit offsets provided  
that i don't have to store my entire document in ES.  
index\_options is set to "offsets"  
term\_vector is also stored with positions and offsets.

I would like to know any kind of approach to this issue, which may include  
scripting or custom plugin also.

Thanks  
Neeraj Makam

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/151d1421-9401-4f72-b50d-e1c0c760752d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/151d1421-9401-4f72-b50d-e1c0c760752d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![mosiddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mosiddi/32/577_2.png) [@mosiddi](https://discuss.elastic.co/u/mosiddi)\
**Post date:** [December 27, 2015, 10:38am UTC](https://discuss.elastic.co/t/providing-hit-offsets/17597/2 "2015-12-27T10:38:19Z")

</div>

Anyone has suggestion here?

---

<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 5, 2017, 11:28pm UTC](https://discuss.elastic.co/t/providing-hit-offsets/17597/3 "2017-07-05T23:28:30Z")

</div>


