Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":[],"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":,"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":,"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":,"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":,"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":,"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
ok, found the problem, running final tests and will push a fix soon. This also found a problem in isolation of percolated queries between different indices, so good job!
On Friday, March 18, 2011 at 2:05 AM, Shay Banon wrote:
Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":,"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
ok, found the problem, running final tests and will push a fix soon. This also found a problem in isolation of percolated queries between different indices, so good job!
On Friday, March 18, 2011 at 2:05 AM, Shay Banon wrote:
Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":,"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
ok, found the problem, running final tests and will push a fix soon. This also found a problem in isolation of percolated queries between different indices, so good job!
On Friday, March 18, 2011 at 2:05 AM, Shay Banon wrote:
Failed to execute [index {[_percolator][test][5d345404-d09b-4647-
a584-9ea8010bc0ab], source[
{"query":{"bool":{"should":,"must":[{"field":{"Content":
{"query":"test","phrase_slop":0}}}],"must_not":[{"field":{"Trashed":
{"query":true}}}]}}}]}]
org.apache.lucene.store.AlreadyClosedException: this Analyzer is
closed
at
org.apache.lucene.analysis.Analyzer.getPreviousTokenStream(Analyzer.java:
65)
at
org.apache.lucene.analysis.standard.StandardAnalyzer.reusableTokenStream(StandardAnalyzer.java:
143)
at
org.elasticsearch.index.analysis.NamedAnalyzer.reusableTokenStream(NamedAnalyzer.java:
81)
at org.elasticsearch.index.mapper.MapperService
$SmartIndexNameSearchAnalyzer.reusableTokenStream(MapperService.java:
551)
at
org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:
519)
at
org.apache.lucene.queryParser.MapperQueryParser.getFieldQuery(MapperQueryParser.java:
118)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:
1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:
1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:
1178)
at
org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:
1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:
182)
at
org.elasticsearch.index.query.xcontent.FieldQueryParser.parse(FieldQueryParser.java:
137)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.BoolQueryParser.parse(BoolQueryParser.java:
80)
at
org.elasticsearch.index.query.xcontent.QueryParseContext.parseInnerQuery(QueryParseContext.java:
167)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
234)
at
org.elasticsearch.index.query.xcontent.XContentIndexQueryParser.parse(XContentIndexQueryParser.java:
214)
at
org.elasticsearch.index.percolator.PercolatorExecutor.parseQuery(PercolatorExecutor.java:
225)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
209)
at
org.elasticsearch.index.percolator.PercolatorExecutor.addQuery(PercolatorExecutor.java:
205)
at org.elasticsearch.index.percolator.PercolatorService
$RealTimePercolatorOperationListener.beforeIndex(PercolatorService.java:
219)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:
278)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:
184)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.