Skip to content

Instantly share code, notes, and snippets.

@sameek
Created March 13, 2012 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sameek/2027994 to your computer and use it in GitHub Desktop.
Save sameek/2027994 to your computer and use it in GitHub Desktop.
elastic server log
[2012-03-13 13:53:32,399][DEBUG][action.bulk ] [sameek Test] [idx_masterdatabase][1] failed to bulk item (index) index {[idx_masterdatabase][type_testtable][0], source[{ "type_testtable" :{"id":1,"Description":"A computer is a programmable machine designed to sequentially and automatically carry out a sequence of arithmetic or logical operations"}}]}
java.lang.IllegalArgumentException: This AttributeSource contains AttributeImpl of type org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not in the target
at org.apache.lucene.util.AttributeSource.copyTo(AttributeSource.java:529)
at org.apache.lucene.analysis.shingle.ShingleFilter.getNextToken(ShingleFilter.java:379)
at org.apache.lucene.analysis.shingle.ShingleFilter.shiftInputWindow(ShingleFilter.java:418)
at org.apache.lucene.analysis.shingle.ShingleFilter.incrementToken(ShingleFilter.java:284)
at org.elasticsearch.common.lucene.all.AllTokenStream.incrementToken(AllTokenStream.java:57)
at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:135)
at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:278)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:766)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2066)
at org.elasticsearch.index.engine.robin.RobinEngine.innerCreate(RobinEngine.java:460)
at org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:355)
at org.elasticsearch.index.shard.service.InternalIndexShard.create(InternalIndexShard.java:301)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:163)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:529)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:427)
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:662)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment