# Elasticsearch tokenize html javascript

**URL:** <https://discuss.elastic.co/t/elasticsearch-tokenize-html-javascript/20644>\
**Category:** Elasticsearch\
**Created:** [November 7, 2014, 11:04pm UTC](https://discuss.elastic.co/t/elasticsearch-tokenize-html-javascript/20644 "2014-11-07T23:04:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevins/32/946_2.png) [@kevins](https://discuss.elastic.co/u/kevins)\
**Post date:** [November 7, 2014, 11:04pm UTC](https://discuss.elastic.co/t/elasticsearch-tokenize-html-javascript/20644/1 "2014-11-07T23:04:08Z")

</div>

I would like to tokenize a text field that contains html and search withing  
it. Also javascript.

So that I can search for field:"jquery.min.js" as an example withing the  
tag.

Are there any references for indexing code?

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/403d4c9b-d753-4d8a-90dd-6f28ed50b021%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/403d4c9b-d753-4d8a-90dd-6f28ed50b021%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:51am UTC](https://discuss.elastic.co/t/elasticsearch-tokenize-html-javascript/20644/2 "2017-07-06T00:51:22Z")

</div>


