# A question about keyword\_marker

**URL:** <https://discuss.elastic.co/t/a-question-about-keyword-marker/21701>\
**Category:** Elasticsearch\
**Created:** [January 18, 2015, 3:58pm UTC](https://discuss.elastic.co/t/a-question-about-keyword-marker/21701 "2015-01-18T15:58:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nassim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nassim/32/739_2.png) [@Nassim](https://discuss.elastic.co/u/Nassim)\
**Post date:** [January 18, 2015, 3:58pm UTC](https://discuss.elastic.co/t/a-question-about-keyword-marker/21701/1 "2015-01-18T15:58:16Z")

</div>

Hi all,

I would like to know if there is a limitation of the number of words that  
we can give to the keyword\_marker instruction ? And if there is a big  
impact on the performance of ES ?

Thank you !

--  
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/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [January 18, 2015, 9:29pm UTC](https://discuss.elastic.co/t/a-question-about-keyword-marker/21701/2 "2015-01-18T21:29:15Z")

</div>

Tokens are stored in a hash table, which provides random access in constant  
time so I would not worry too much about performance. However, these tokens  
will be stored in memory so you should keep the size of the list reasonable.

On Sun, Jan 18, 2015 at 4:58 PM, Nassim [nassim.kacha@gmail.com](mailto:nassim.kacha@gmail.com) wrote:

> Hi all,
> 
> I would like to know if there is a limitation of the number of words that  
> we can give to the keyword\_marker instruction ? And if there is a big  
> impact on the performance of ES ?
> 
> Thank you !
> 
> --  
> 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/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Adrien Grand

--  
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/CAL6Z4j4UXUsX84L%3DhtBjf9uoPPJ9ZZCGfrO-3%2BfBpaPz%3DLRG8w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4UXUsX84L%3DhtBjf9uoPPJ9ZZCGfrO-3%2BfBpaPz%3DLRG8w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Nassim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nassim/32/739_2.png) [@Nassim](https://discuss.elastic.co/u/Nassim)\
**Post date:** [January 19, 2015, 11:24am UTC](https://discuss.elastic.co/t/a-question-about-keyword-marker/21701/3 "2015-01-19T11:24:40Z")

</div>

Thanks. Is a list of 10 000 words is too big ?

Le dimanche 18 janvier 2015 22:29:22 UTC+1, Adrien Grand a écrit :

> Tokens are stored in a hash table, which provides random access in  
> constant time so I would not worry too much about performance. However,  
> these tokens will be stored in memory so you should keep the size of the  
> list reasonable.
> 
> On Sun, Jan 18, 2015 at 4:58 PM, Nassim \<[nassim...@gmail.com](mailto:nassim...@gmail.com) \<javascript:\>
> 
> > wrote:
> 
> > Hi all,
> > 
> > I would like to know if there is a limitation of the number of words that  
> > we can give to the keyword\_marker instruction ? And if there is a big  
> > impact on the performance of ES ?
> > 
> > Thank you !
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/039be4ae-c273-4ec8-b131-b4eeb7d38f5c%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Adrien Grand

--  
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/daa4715c-9d73-4080-9e94-95ca4d2c28e5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/daa4715c-9d73-4080-9e94-95ca4d2c28e5%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:38am UTC](https://discuss.elastic.co/t/a-question-about-keyword-marker/21701/4 "2017-07-06T00:38:03Z")

</div>

Closed on July 6, 2017, 12:38am UTC


