Closed Merkaban closed 7 years ago
Hi @Merkaban:
Could you please test it with cassandra-lucene-index:3.9.7 to discard known issues? You need to reindex the data.
Always, while looking for debugging errors in cassandra-lucene-index, it is useful to activate DEBUG or TRACE logs and inspect them.
In a normal cassandra installation you just need to add a new line in conf/logback.xml
.
....
<logger name="org.apache.cassandra" level="DEBUG"/>
<logger name="com.thinkaurelius.thrift" level="ERROR"/>
<logger name="com.stratio.cassandra" level="DEBUG"/> <!-- this line -->
</configuration>
I think you can get this working just placing edited logback.xml in test-accesible-resources folder.
Hope this helps Looking forward your answer
Hi @ealonsodb ,
thank you for your fast answer. Incrementing the version to 3.9.7 did indeed solve the issue. Sadly, right now I will have different versions running in the tests, but that's another story. Again, thanks for your help. Cheers Merkaban
Your welcome @Merkaban
Hi, we start using an embedded cassandra for integration testing. In the application itself everything works fine, but in testing I get the following error:
The part of the code referenced looks like this (and is working in application):
We are using the following versions:
Please note, that both the dependency to cassandra-all and the dependency to the lucene-plugin are only with scope test, because I only need em here for the integration test, as in production both are used within the cassandra node, which are completely separate....
Any help would be appreciated.
Cheers Merkaban