Problem upgrading elasticsearch 0.16.2 to elasticsearch 0.18.7


(Sam-4) #1

Hi

I try to switch elastic search 0.16.2 to stable version 0.18.7,but i facing
problem on creating index with rabbitmq river,all code are
working smoothly in version 0.16.2,but in 0.18.7 i got the following
exception:

java.lang.IllegalArgumentException: This AttributeSource contains
AttributeImpl of type
org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not
in the target
I not able to resolve this exception,please help me where the problem also
i have included server log file.

Thanks


(Shay Banon) #2

Are you running embedded in your java app? Did you make sure to use the correct Lucene version (and make sure you don't have multiple versions in the class path).

On Thursday, February 16, 2012 at 1:32 PM, sameek mishra wrote:

Hi

I try to switch elastic search 0.16.2 to stable version 0.18.7,but i facing problem on creating index with rabbitmq river,all code are working smoothly in version 0.16.2,but in 0.18.7 i got the following exception:

java.lang.IllegalArgumentException: This AttributeSource contains AttributeImpl of type org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not in the target

I not able to resolve this exception,please help me where the problem also i have included server log file.

Thanks

Attachments:

  • elasticsearch.log

(system) #3