# Percolation Regular Expressions and Hit Locations

**URL:** https://discuss.elastic.co/t/percolation-regular-expressions-and-hit-locations/106589
**Category:** Elasticsearch
**Created:** [November 6, 2017, 9:48pm UTC](https://discuss.elastic.co/t/percolation-regular-expressions-and-hit-locations/106589 "2017-11-06T21:48:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zortlord](https://avatars.discourse-cdn.com/v4/letter/z/6a8cbe/32.png) [@zortlord](https://discuss.elastic.co/u/zortlord)
#### Post date: [November 6, 2017, 9:48pm UTC](https://discuss.elastic.co/t/percolation-regular-expressions-and-hit-locations/106589/1 "2017-11-06T21:48:04Z")

</div>

I have a need to search extremely large documents using large numbers Regular Expressions. Someone has recommended that I look into Elastic Search percolator to accomplish this. I've searched the documentation here and Googled extensively, but I couldn't find anything that discusses these concerns:

- Is there a limit to the size of a document / field that can be percolated (gigabytes?)?
- Is there a limit to the number of simultaneous search queries that can be executed (ie: 1000s?)?
- Can percolation search on Regular Expressions?
- Can Percolation return the indices of every search match in the document instead of highlighting (ie: if searching this field of a document "blah hello yellow world" for "llo", are there flags to make percolation return something like [7, 10], [13, 16] (as long as the format is consistent, I can parse it out and I expect potentially hundreds of such intervals to be returned)] ?

---

<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: [December 4, 2017, 9:48pm UTC](https://discuss.elastic.co/t/percolation-regular-expressions-and-hit-locations/106589/2 "2017-12-04T21:48:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
