# Error 0.19.6 - Compress Field

**URL:** <https://discuss.elastic.co/t/error-0-19-6-compress-field/8219>\
**Category:** Elasticsearch\
**Created:** [June 25, 2012, 5:58pm UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219 "2012-06-25T17:58:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gustavo\_Maia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_maia/32/2183_2.png) [@Gustavo\_Maia](https://discuss.elastic.co/u/Gustavo_Maia)\
**Post date:** [June 25, 2012, 5:58pm UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219/1 "2012-06-25T17:58:05Z")

</div>

When i using the compress field i have this problem.

[2012-06-25 14:53:31,003][DEBUG][action.search.type]  
[Abomination] [209] Failed to execute fetch phase  
java.lang.IndexOutOfBoundsException: Index: 1872067, Size: 22  
at java.util.ArrayList.rangeCheck(ArrayList.java:571)  
at java.util.ArrayList.get(ArrayList.java:349)  
at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:255)  
at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:238)  
at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:492)  
at org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:568)  
at org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:264)  
at org.elasticsearch.search.fetch.FetchPhase.loadDocument(FetchPhase.java:288)  
at org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:158)  
at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:430)  
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:344)  
at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchQueryThenFetchAction.java:149)  
at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.run(TransportSearchQueryThenFetchAction.java:136)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

Obs: When i disable compress field, i did not see nay error.

My Setting

{  
"diarioindex" : {  
"settings" : {  
"index.analysis.analyzer.documentofacetanalyzer.tokenizer" : "whitespace",  
"index.analysis.filter.jus\_stop.type" : "stop",  
"index.store.type" : "niofs",  
"index.analysis.filter.jus\_stop.enable\_position\_increments" : "false",  
"index.analysis.filter.jus\_word\_delimiter.type\_table\_path" :  
"/opt/elasticsearch/config/delimiter.txt",  
"index.number\_of\_replicas" : "1",  
"index.analysis.filter.jus\_word\_delimiter.catenate\_numbers" : "true",  
"index.analysis.filter.jus\_word\_delimiter.preserve\_original" : "true",  
"index.store.compress.stored" : "true",  
"index.analysis.filter.jus\_word\_delimiter.catenate\_words" : "true",  
"index.analysis.filter.jus\_word\_delimiter.split\_on\_numerics" : "true",  
"index.analysis.filter.jus\_word\_delimiter.catenate\_all" : "true",  
"index.analysis.filter.jus\_stop.ignore\_case" : "true",  
"index.analysis.analyzer.documentochildanalyzer.tokenizer" : "whitespace",  
"index.number\_of\_shards" : "10",  
"index.analysis.filter.jus\_stop._lang_" : "brazilian",  
"index.analysis.analyzer.default.filter.3" : "lowercase",  
"index.analysis.analyzer.default.filter.4" : "jus\_stop",  
"index.analysis.analyzer.default.tokenizer" : "whitespace",  
"index.analysis.filter.jus\_word\_delimiter.type" : "word\_delimiter",  
"index.analysis.analyzer.default.filter.1" : "standard",  
"index.analysis.analyzer.default.filter.2" : "jus\_word\_delimiter",  
"index.analysis.filter.my\_synonym.synonyms\_path" :  
"/opt/elasticsearch/config/synonyms\_atos.txt",  
"index.analysis.analyzer.default.filter.0" : "accentFilter",  
"index.analysis.filter.my\_synonym.type" : "synonym",  
"index.fs.memory.enabled" : "true",  
"index.analysis.filter.jus\_stop.stopwords\_path" :  
"/opt/elasticsearch/config/stopwords.txt",  
"index.version.created" : "190699"  
}  
}  
}

--  
Gustavo Maia

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 25, 2012, 6:12pm UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219/2 "2012-06-25T18:12:39Z")

</div>

Can you gist a recreation?

On Mon, Jun 25, 2012 at 7:58 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)wrote:

> When i using the compress field i have this problem.
> 
> [2012-06-25 14:53:31,003][DEBUG][action.search.type]  
> [Abomination] [209] Failed to execute fetch phase  
> java.lang.IndexOutOfBoundsException: Index: 1872067, Size: 22  
> at java.util.ArrayList.rangeCheck(ArrayList.java:571)  
> at java.util.ArrayList.get(ArrayList.java:349)  
> at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:255)  
> at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:238)  
> at  
> org.apache.lucene.index.SegmentReader.document(SegmentReader.java:492)  
> at  
> org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:568)  
> at  
> org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:264)  
> at  
> org.elasticsearch.search.fetch.FetchPhase.loadDocument(FetchPhase.java:288)  
> at  
> org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:158)  
> at  
> org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:430)  
> at  
> org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:344)  
> at  
> org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchQueryThenFetchAction.java:149)  
> at  
> org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.run(TransportSearchQueryThenFetchAction.java:136)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 
> Obs: When i disable compress field, i did not see nay error.
> 
> My Setting
> 
> {  
> "diarioindex" : {  
> "settings" : {  
> "index.analysis.analyzer.documentofacetanalyzer.tokenizer" :  
> "whitespace",  
> "index.analysis.filter.jus\_stop.type" : "stop",  
> "index.store.type" : "niofs",  
> "index.analysis.filter.jus\_stop.enable\_position\_increments" : "false",  
> "index.analysis.filter.jus\_word\_delimiter.type\_table\_path" :  
> "/opt/elasticsearch/config/delimiter.txt",  
> "index.number\_of\_replicas" : "1",  
> "index.analysis.filter.jus\_word\_delimiter.catenate\_numbers" : "true",  
> "index.analysis.filter.jus\_word\_delimiter.preserve\_original" : "true",  
> "index.store.compress.stored" : "true",  
> "index.analysis.filter.jus\_word\_delimiter.catenate\_words" : "true",  
> "index.analysis.filter.jus\_word\_delimiter.split\_on\_numerics" : "true",  
> "index.analysis.filter.jus\_word\_delimiter.catenate\_all" : "true",  
> "index.analysis.filter.jus\_stop.ignore\_case" : "true",  
> "index.analysis.analyzer.documentochildanalyzer.tokenizer" :  
> "whitespace",  
> "index.number\_of\_shards" : "10",  
> "index.analysis.filter.jus\_stop._lang_" : "brazilian",  
> "index.analysis.analyzer.default.filter.3" : "lowercase",  
> "index.analysis.analyzer.default.filter.4" : "jus\_stop",  
> "index.analysis.analyzer.default.tokenizer" : "whitespace",  
> "index.analysis.filter.jus\_word\_delimiter.type" : "word\_delimiter",  
> "index.analysis.analyzer.default.filter.1" : "standard",  
> "index.analysis.analyzer.default.filter.2" : "jus\_word\_delimiter",  
> "index.analysis.filter.my\_synonym.synonyms\_path" :  
> "/opt/elasticsearch/config/synonyms\_atos.txt",  
> "index.analysis.analyzer.default.filter.0" : "accentFilter",  
> "index.analysis.filter.my\_synonym.type" : "synonym",  
> "index.fs.memory.enabled" : "true",  
> "index.analysis.filter.jus\_stop.stopwords\_path" :  
> "/opt/elasticsearch/config/stopwords.txt",  
> "index.version.created" : "190699"  
> }  
> }  
> }
> 
> --  
> Gustavo Maia

---

<div class="post-metadata">

**Author:** ![Gustavo\_Maia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_maia/32/2183_2.png) [@Gustavo\_Maia](https://discuss.elastic.co/u/Gustavo_Maia)\
**Post date:** [June 25, 2012, 6:14pm UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219/3 "2012-06-25T18:14:59Z")

</div>

I disabled \_source can it be this problem?

2012/6/25 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com):

> Can you gist a recreation?
> 
> On Mon, Jun 25, 2012 at 7:58 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)  
> wrote:
> 
> > When i using the compress field i have this problem.
> > 
> > [2012-06-25 14:53:31,003][DEBUG][action.search.type]  
> > [Abomination] [209] Failed to execute fetch phase  
> > java.lang.IndexOutOfBoundsException: Index: 1872067, Size: 22  
> > at java.util.ArrayList.rangeCheck(ArrayList.java:571)  
> > at java.util.ArrayList.get(ArrayList.java:349)  
> > at  
> > org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:255)  
> > at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:238)  
> > at  
> > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:492)  
> > at  
> > org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:568)  
> > at  
> > org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:264)  
> > at  
> > org.elasticsearch.search.fetch.FetchPhase.loadDocument(FetchPhase.java:288)  
> > at  
> > org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:158)  
> > at  
> > org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:430)  
> > at  
> > org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:344)  
> > at  
> > org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchQueryThenFetchAction.java:149)  
> > at  
> > org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.run(TransportSearchQueryThenFetchAction.java:136)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> > 
> > Obs: When i disable compress field, i did not see nay error.
> > 
> > My Setting
> > 
> > {  
> > "diarioindex" : {  
> > "settings" : {  
> > "index.analysis.analyzer.documentofacetanalyzer.tokenizer" :  
> > "whitespace",  
> > "index.analysis.filter.jus\_stop.type" : "stop",  
> > "index.store.type" : "niofs",  
> > "index.analysis.filter.jus\_stop.enable\_position\_increments" :  
> > "false",  
> > "index.analysis.filter.jus\_word\_delimiter.type\_table\_path" :  
> > "/opt/elasticsearch/config/delimiter.txt",  
> > "index.number\_of\_replicas" : "1",  
> > "index.analysis.filter.jus\_word\_delimiter.catenate\_numbers" : "true",  
> > "index.analysis.filter.jus\_word\_delimiter.preserve\_original" :  
> > "true",  
> > "index.store.compress.stored" : "true",  
> > "index.analysis.filter.jus\_word\_delimiter.catenate\_words" : "true",  
> > "index.analysis.filter.jus\_word\_delimiter.split\_on\_numerics" :  
> > "true",  
> > "index.analysis.filter.jus\_word\_delimiter.catenate\_all" : "true",  
> > "index.analysis.filter.jus\_stop.ignore\_case" : "true",  
> > "index.analysis.analyzer.documentochildanalyzer.tokenizer" :  
> > "whitespace",  
> > "index.number\_of\_shards" : "10",  
> > "index.analysis.filter.jus\_stop._lang_" : "brazilian",  
> > "index.analysis.analyzer.default.filter.3" : "lowercase",  
> > "index.analysis.analyzer.default.filter.4" : "jus\_stop",  
> > "index.analysis.analyzer.default.tokenizer" : "whitespace",  
> > "index.analysis.filter.jus\_word\_delimiter.type" : "word\_delimiter",  
> > "index.analysis.analyzer.default.filter.1" : "standard",  
> > "index.analysis.analyzer.default.filter.2" : "jus\_word\_delimiter",  
> > "index.analysis.filter.my\_synonym.synonyms\_path" :  
> > "/opt/elasticsearch/config/synonyms\_atos.txt",  
> > "index.analysis.analyzer.default.filter.0" : "accentFilter",  
> > "index.analysis.filter.my\_synonym.type" : "synonym",  
> > "index.fs.memory.enabled" : "true",  
> > "index.analysis.filter.jus\_stop.stopwords\_path" :  
> > "/opt/elasticsearch/config/stopwords.txt",  
> > "index.version.created" : "190699"  
> > }  
> > }  
> > }
> > 
> > --  
> > Gustavo Maia

--  
Gustavo Maia

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 25, 2012, 6:17pm UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219/4 "2012-06-25T18:17:31Z")

</div>

And do you store anything else?

On Mon, Jun 25, 2012 at 8:14 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)wrote:

> I disabled \_source can it be this problem?
> 
> 2012/6/25 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com):
> 
> > Can you gist a recreation?
> > 
> > On Mon, Jun 25, 2012 at 7:58 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)  
> > wrote:
> > 
> > > When i using the compress field i have this problem.
> > > 
> > > [2012-06-25 14:53:31,003][DEBUG][action.search.type]  
> > > [Abomination] [209] Failed to execute fetch phase  
> > > java.lang.IndexOutOfBoundsException: Index: 1872067, Size: 22  
> > > at java.util.ArrayList.rangeCheck(ArrayList.java:571)  
> > > at java.util.ArrayList.get(ArrayList.java:349)  
> > > at  
> > > org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:255)  
> > > at  
> > > org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:238)  
> > > at  
> > > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:492)  
> > > at
> 
> org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:568)
> 
> > > ```
> > > at
> > > 
> > > ```
> > > 
> > > org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:264)  
> > > at
> 
> org.elasticsearch.search.fetch.FetchPhase.loadDocument(FetchPhase.java:288)
> 
> > > ```
> > > at
> > > 
> > > ```
> > > 
> > > org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:158)  
> > > at
> 
> org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:430)
> 
> > > ```
> > > at
> > > 
> > > ```
> 
> org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:344)
> 
> > > ```
> > > at
> > > 
> > > ```
> 
> org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchQueryThenFetchAction.java:149)
> 
> > > ```
> > > at
> > > 
> > > ```
> 
> org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.run(TransportSearchQueryThenFetchAction.java:136)
> 
> > > ```
> > > at
> > > 
> > > ```
> 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 
> > > ```
> > > at
> > > 
> > > ```
> 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 
> > > Obs: When i disable compress field, i did not see nay error.
> > > 
> > > My Setting
> > > 
> > > {  
> > > "diarioindex" : {  
> > > "settings" : {  
> > > "index.analysis.analyzer.documentofacetanalyzer.tokenizer" :  
> > > "whitespace",  
> > > "index.analysis.filter.jus\_stop.type" : "stop",  
> > > "index.store.type" : "niofs",  
> > > "index.analysis.filter.jus\_stop.enable\_position\_increments" :  
> > > "false",  
> > > "index.analysis.filter.jus\_word\_delimiter.type\_table\_path" :  
> > > "/opt/elasticsearch/config/delimiter.txt",  
> > > "index.number\_of\_replicas" : "1",  
> > > "index.analysis.filter.jus\_word\_delimiter.catenate\_numbers" :  
> > > "true",  
> > > "index.analysis.filter.jus\_word\_delimiter.preserve\_original" :  
> > > "true",  
> > > "index.store.compress.stored" : "true",  
> > > "index.analysis.filter.jus\_word\_delimiter.catenate\_words" : "true",  
> > > "index.analysis.filter.jus\_word\_delimiter.split\_on\_numerics" :  
> > > "true",  
> > > "index.analysis.filter.jus\_word\_delimiter.catenate\_all" : "true",  
> > > "index.analysis.filter.jus\_stop.ignore\_case" : "true",  
> > > "index.analysis.analyzer.documentochildanalyzer.tokenizer" :  
> > > "whitespace",  
> > > "index.number\_of\_shards" : "10",  
> > > "index.analysis.filter.jus\_stop._lang_" : "brazilian",  
> > > "index.analysis.analyzer.default.filter.3" : "lowercase",  
> > > "index.analysis.analyzer.default.filter.4" : "jus\_stop",  
> > > "index.analysis.analyzer.default.tokenizer" : "whitespace",  
> > > "index.analysis.filter.jus\_word\_delimiter.type" : "word\_delimiter",  
> > > "index.analysis.analyzer.default.filter.1" : "standard",  
> > > "index.analysis.analyzer.default.filter.2" : "jus\_word\_delimiter",  
> > > "index.analysis.filter.my\_synonym.synonyms\_path" :  
> > > "/opt/elasticsearch/config/synonyms\_atos.txt",  
> > > "index.analysis.analyzer.default.filter.0" : "accentFilter",  
> > > "index.analysis.filter.my\_synonym.type" : "synonym",  
> > > "index.fs.memory.enabled" : "true",  
> > > "index.analysis.filter.jus\_stop.stopwords\_path" :  
> > > "/opt/elasticsearch/config/stopwords.txt",  
> > > "index.version.created" : "190699"  
> > > }  
> > > }  
> > > }
> > > 
> > > --  
> > > Gustavo Maia
> 
> --  
> Gustavo Maia

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 25, 2012, 6:25pm UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219/5 "2012-06-25T18:25:44Z")

</div>

Even if not though, it wouldn't matter, you shouldn't get this failure. Is  
there a chance for a recreations? You probably don't need to have all the  
analysis configuration, just the basic compression and mapping, index  
sample data, and execute the search that causes the problem.

On Mon, Jun 25, 2012 at 8:17 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> And do you store anything else?
> 
> On Mon, Jun 25, 2012 at 8:14 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)wrote:
> 
> > I disabled \_source can it be this problem?
> > 
> > 2012/6/25 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com):
> > 
> > > Can you gist a recreation?
> > > 
> > > On Mon, Jun 25, 2012 at 7:58 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)  
> > > wrote:
> > > 
> > > > When i using the compress field i have this problem.
> > > > 
> > > > [2012-06-25 14:53:31,003][DEBUG][action.search.type]  
> > > > [Abomination] [209] Failed to execute fetch phase  
> > > > java.lang.IndexOutOfBoundsException: Index: 1872067, Size: 22  
> > > > at java.util.ArrayList.rangeCheck(ArrayList.java:571)  
> > > > at java.util.ArrayList.get(ArrayList.java:349)  
> > > > at  
> > > > org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:255)  
> > > > at  
> > > > org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:238)  
> > > > at  
> > > > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:492)  
> > > > at
> > 
> > org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:568)
> > 
> > > > ```
> > > > at
> > > > 
> > > > ```
> > > > 
> > > > org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:264)  
> > > > at
> > 
> > org.elasticsearch.search.fetch.FetchPhase.loadDocument(FetchPhase.java:288)
> > 
> > > > ```
> > > > at
> > > > 
> > > > ```
> > > > 
> > > > org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:158)  
> > > > at
> > 
> > org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:430)
> > 
> > > > ```
> > > > at
> > > > 
> > > > ```
> > 
> > org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:344)
> > 
> > > > ```
> > > > at
> > > > 
> > > > ```
> > 
> > org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchQueryThenFetchAction.java:149)
> > 
> > > > ```
> > > > at
> > > > 
> > > > ```
> > 
> > org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.run(TransportSearchQueryThenFetchAction.java:136)
> > 
> > > > ```
> > > > at
> > > > 
> > > > ```
> > 
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> > 
> > > > ```
> > > > at
> > > > 
> > > > ```
> > 
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> > 
> > > > Obs: When i disable compress field, i did not see nay error.
> > > > 
> > > > My Setting
> > > > 
> > > > {  
> > > > "diarioindex" : {  
> > > > "settings" : {  
> > > > "index.analysis.analyzer.documentofacetanalyzer.tokenizer" :  
> > > > "whitespace",  
> > > > "index.analysis.filter.jus\_stop.type" : "stop",  
> > > > "index.store.type" : "niofs",  
> > > > "index.analysis.filter.jus\_stop.enable\_position\_increments" :  
> > > > "false",  
> > > > "index.analysis.filter.jus\_word\_delimiter.type\_table\_path" :  
> > > > "/opt/elasticsearch/config/delimiter.txt",  
> > > > "index.number\_of\_replicas" : "1",  
> > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_numbers" :  
> > > > "true",  
> > > > "index.analysis.filter.jus\_word\_delimiter.preserve\_original" :  
> > > > "true",  
> > > > "index.store.compress.stored" : "true",  
> > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_words" :  
> > > > "true",  
> > > > "index.analysis.filter.jus\_word\_delimiter.split\_on\_numerics" :  
> > > > "true",  
> > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_all" : "true",  
> > > > "index.analysis.filter.jus\_stop.ignore\_case" : "true",  
> > > > "index.analysis.analyzer.documentochildanalyzer.tokenizer" :  
> > > > "whitespace",  
> > > > "index.number\_of\_shards" : "10",  
> > > > "index.analysis.filter.jus\_stop._lang_" : "brazilian",  
> > > > "index.analysis.analyzer.default.filter.3" : "lowercase",  
> > > > "index.analysis.analyzer.default.filter.4" : "jus\_stop",  
> > > > "index.analysis.analyzer.default.tokenizer" : "whitespace",  
> > > > "index.analysis.filter.jus\_word\_delimiter.type" :  
> > > > "word\_delimiter",  
> > > > "index.analysis.analyzer.default.filter.1" : "standard",  
> > > > "index.analysis.analyzer.default.filter.2" : "jus\_word\_delimiter",  
> > > > "index.analysis.filter.my\_synonym.synonyms\_path" :  
> > > > "/opt/elasticsearch/config/synonyms\_atos.txt",  
> > > > "index.analysis.analyzer.default.filter.0" : "accentFilter",  
> > > > "index.analysis.filter.my\_synonym.type" : "synonym",  
> > > > "index.fs.memory.enabled" : "true",  
> > > > "index.analysis.filter.jus\_stop.stopwords\_path" :  
> > > > "/opt/elasticsearch/config/stopwords.txt",  
> > > > "index.version.created" : "190699"  
> > > > }  
> > > > }  
> > > > }
> > > > 
> > > > --  
> > > > Gustavo Maia
> > 
> > --  
> > Gustavo Maia

---

<div class="post-metadata">

**Author:** ![Gustavo\_Maia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_maia/32/2183_2.png) [@Gustavo\_Maia](https://discuss.elastic.co/u/Gustavo_Maia)\
**Post date:** [June 25, 2012, 6:25pm UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219/6 "2012-06-25T18:25:53Z")

</div>

Yes, I have this problem in some documents, not in all.

2012/6/25 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com):

> And do you store anything else?
> 
> On Mon, Jun 25, 2012 at 8:14 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)  
> wrote:
> 
> > I disabled \_source can it be this problem?
> > 
> > 2012/6/25 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com):
> > 
> > > Can you gist a recreation?
> > > 
> > > On Mon, Jun 25, 2012 at 7:58 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)  
> > > wrote:
> > > 
> > > > When i using the compress field i have this problem.
> > > > 
> > > > [2012-06-25 14:53:31,003][DEBUG][action.search.type]  
> > > > [Abomination] [209] Failed to execute fetch phase  
> > > > java.lang.IndexOutOfBoundsException: Index: 1872067, Size: 22  
> > > > at java.util.ArrayList.rangeCheck(ArrayList.java:571)  
> > > > at java.util.ArrayList.get(ArrayList.java:349)  
> > > > at  
> > > > org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:255)  
> > > > at  
> > > > org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:238)  
> > > > at  
> > > > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:492)  
> > > > at
> > > > 
> > > > org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:568)  
> > > > at  
> > > > org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:264)  
> > > > at
> > > > 
> > > > org.elasticsearch.search.fetch.FetchPhase.loadDocument(FetchPhase.java:288)  
> > > > at  
> > > > org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:158)  
> > > > at
> > > > 
> > > > org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:430)  
> > > > at
> > > > 
> > > > org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:344)  
> > > > at
> > > > 
> > > > org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchQueryThenFetchAction.java:149)  
> > > > at
> > > > 
> > > > org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.run(TransportSearchQueryThenFetchAction.java:136)  
> > > > at
> > > > 
> > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > > > at
> > > > 
> > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> > > > 
> > > > Obs: When i disable compress field, i did not see nay error.
> > > > 
> > > > My Setting
> > > > 
> > > > {  
> > > > "diarioindex" : {  
> > > > "settings" : {  
> > > > "index.analysis.analyzer.documentofacetanalyzer.tokenizer" :  
> > > > "whitespace",  
> > > > "index.analysis.filter.jus\_stop.type" : "stop",  
> > > > "index.store.type" : "niofs",  
> > > > "index.analysis.filter.jus\_stop.enable\_position\_increments" :  
> > > > "false",  
> > > > "index.analysis.filter.jus\_word\_delimiter.type\_table\_path" :  
> > > > "/opt/elasticsearch/config/delimiter.txt",  
> > > > "index.number\_of\_replicas" : "1",  
> > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_numbers" :  
> > > > "true",  
> > > > "index.analysis.filter.jus\_word\_delimiter.preserve\_original" :  
> > > > "true",  
> > > > "index.store.compress.stored" : "true",  
> > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_words" :  
> > > > "true",  
> > > > "index.analysis.filter.jus\_word\_delimiter.split\_on\_numerics" :  
> > > > "true",  
> > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_all" : "true",  
> > > > "index.analysis.filter.jus\_stop.ignore\_case" : "true",  
> > > > "index.analysis.analyzer.documentochildanalyzer.tokenizer" :  
> > > > "whitespace",  
> > > > "index.number\_of\_shards" : "10",  
> > > > "index.analysis.filter.jus\_stop._lang_" : "brazilian",  
> > > > "index.analysis.analyzer.default.filter.3" : "lowercase",  
> > > > "index.analysis.analyzer.default.filter.4" : "jus\_stop",  
> > > > "index.analysis.analyzer.default.tokenizer" : "whitespace",  
> > > > "index.analysis.filter.jus\_word\_delimiter.type" :  
> > > > "word\_delimiter",  
> > > > "index.analysis.analyzer.default.filter.1" : "standard",  
> > > > "index.analysis.analyzer.default.filter.2" : "jus\_word\_delimiter",  
> > > > "index.analysis.filter.my\_synonym.synonyms\_path" :  
> > > > "/opt/elasticsearch/config/synonyms\_atos.txt",  
> > > > "index.analysis.analyzer.default.filter.0" : "accentFilter",  
> > > > "index.analysis.filter.my\_synonym.type" : "synonym",  
> > > > "index.fs.memory.enabled" : "true",  
> > > > "index.analysis.filter.jus\_stop.stopwords\_path" :  
> > > > "/opt/elasticsearch/config/stopwords.txt",  
> > > > "index.version.created" : "190699"  
> > > > }  
> > > > }  
> > > > }
> > > > 
> > > > --  
> > > > Gustavo Maia
> > 
> > --  
> > Gustavo Maia

--  
Gustavo Maia

---

<div class="post-metadata">

**Author:** ![Gustavo\_Maia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_maia/32/2183_2.png) [@Gustavo\_Maia](https://discuss.elastic.co/u/Gustavo_Maia)\
**Post date:** [June 25, 2012, 6:31pm UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219/7 "2012-06-25T18:31:17Z")

</div>

Ok. I will try it.

I have some problem to execute it, because i use my API.

I try generate json files.

2012/6/25 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com):

> Even if not though, it wouldn't matter, you shouldn't get this failure. Is  
> there a chance for a recreations? You probably don't need to have all the  
> analysis configuration, just the basic compression and mapping, index sample  
> data, and execute the search that causes the problem.
> 
> On Mon, Jun 25, 2012 at 8:17 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> 
> > And do you store anything else?
> > 
> > On Mon, Jun 25, 2012 at 8:14 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)  
> > wrote:
> > 
> > > I disabled \_source can it be this problem?
> > > 
> > > 2012/6/25 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com):
> > > 
> > > > Can you gist a recreation?
> > > > 
> > > > On Mon, Jun 25, 2012 at 7:58 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)  
> > > > wrote:
> > > > 
> > > > > When i using the compress field i have this problem.
> > > > > 
> > > > > [2012-06-25 14:53:31,003][DEBUG][action.search.type]  
> > > > > [Abomination] [209] Failed to execute fetch phase  
> > > > > java.lang.IndexOutOfBoundsException: Index: 1872067, Size: 22  
> > > > > at java.util.ArrayList.rangeCheck(ArrayList.java:571)  
> > > > > at java.util.ArrayList.get(ArrayList.java:349)  
> > > > > at  
> > > > > org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:255)  
> > > > > at  
> > > > > org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:238)  
> > > > > at  
> > > > > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:492)  
> > > > > at
> > > > > 
> > > > > org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:568)  
> > > > > at  
> > > > > org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:264)  
> > > > > at
> > > > > 
> > > > > org.elasticsearch.search.fetch.FetchPhase.loadDocument(FetchPhase.java:288)  
> > > > > at  
> > > > > org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:158)  
> > > > > at
> > > > > 
> > > > > org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:430)  
> > > > > at
> > > > > 
> > > > > org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:344)  
> > > > > at
> > > > > 
> > > > > org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchQueryThenFetchAction.java:149)  
> > > > > at
> > > > > 
> > > > > org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.run(TransportSearchQueryThenFetchAction.java:136)  
> > > > > at
> > > > > 
> > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > > > > at
> > > > > 
> > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> > > > > 
> > > > > Obs: When i disable compress field, i did not see nay error.
> > > > > 
> > > > > My Setting
> > > > > 
> > > > > {  
> > > > > "diarioindex" : {  
> > > > > "settings" : {  
> > > > > "index.analysis.analyzer.documentofacetanalyzer.tokenizer" :  
> > > > > "whitespace",  
> > > > > "index.analysis.filter.jus\_stop.type" : "stop",  
> > > > > "index.store.type" : "niofs",  
> > > > > "index.analysis.filter.jus\_stop.enable\_position\_increments" :  
> > > > > "false",  
> > > > > "index.analysis.filter.jus\_word\_delimiter.type\_table\_path" :  
> > > > > "/opt/elasticsearch/config/delimiter.txt",  
> > > > > "index.number\_of\_replicas" : "1",  
> > > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_numbers" :  
> > > > > "true",  
> > > > > "index.analysis.filter.jus\_word\_delimiter.preserve\_original" :  
> > > > > "true",  
> > > > > "index.store.compress.stored" : "true",  
> > > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_words" :  
> > > > > "true",  
> > > > > "index.analysis.filter.jus\_word\_delimiter.split\_on\_numerics" :  
> > > > > "true",  
> > > > > "index.analysis.filter.jus\_word\_delimiter.catenate\_all" : "true",  
> > > > > "index.analysis.filter.jus\_stop.ignore\_case" : "true",  
> > > > > "index.analysis.analyzer.documentochildanalyzer.tokenizer" :  
> > > > > "whitespace",  
> > > > > "index.number\_of\_shards" : "10",  
> > > > > "index.analysis.filter.jus\_stop._lang_" : "brazilian",  
> > > > > "index.analysis.analyzer.default.filter.3" : "lowercase",  
> > > > > "index.analysis.analyzer.default.filter.4" : "jus\_stop",  
> > > > > "index.analysis.analyzer.default.tokenizer" : "whitespace",  
> > > > > "index.analysis.filter.jus\_word\_delimiter.type" :  
> > > > > "word\_delimiter",  
> > > > > "index.analysis.analyzer.default.filter.1" : "standard",  
> > > > > "index.analysis.analyzer.default.filter.2" :  
> > > > > "jus\_word\_delimiter",  
> > > > > "index.analysis.filter.my\_synonym.synonyms\_path" :  
> > > > > "/opt/elasticsearch/config/synonyms\_atos.txt",  
> > > > > "index.analysis.analyzer.default.filter.0" : "accentFilter",  
> > > > > "index.analysis.filter.my\_synonym.type" : "synonym",  
> > > > > "index.fs.memory.enabled" : "true",  
> > > > > "index.analysis.filter.jus\_stop.stopwords\_path" :  
> > > > > "/opt/elasticsearch/config/stopwords.txt",  
> > > > > "index.version.created" : "190699"  
> > > > > }  
> > > > > }  
> > > > > }
> > > > > 
> > > > > --  
> > > > > Gustavo Maia
> > > 
> > > --  
> > > Gustavo Maia

--  
Gustavo Maia

---

<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, 3:22am UTC](https://discuss.elastic.co/t/error-0-19-6-compress-field/8219/8 "2017-07-06T03:22:35Z")

</div>


