Lucene Index is managed by Instaclustr (https://github.com/instaclustr/cassandra-lucene-index) in Cassandra 4.x instead of Stratio who supported till V3.x. I have tried to test the Index creation but failed with below issues. Anyone please help. I have raised this in git but somehow missed by team. It would be of great help if anyone who successfully implemented this can share steps.

~/cassandra-lucene-index$ git checkout 4.0.7
error: pathspec '4.0.7' did not match any file(s) known to git

enter image description here

Subsequently below step failed also

mvn clean package

enter image description here

2 Answers 2


Looking at the list of releases, there doesn't appear to be one for Cassandra 4.0.7, just for 4.0.4.

There is however a branch for C* 4.0.7 named cassandra-4.0.7 which you could try to build.

In the meantime, I'm going to reach out to friends at Instaclustr to get them to comment. Cheers!


I think Erick is right here. Try checking out the cassandra-4.0.7 branch, do a git pull origin cassandra-4.0.7 and then a mvn clean package.

$ git checkout cassandra-4.0.7
$ git pull origin cassandra-4.0.7
$ mvn clean package
  • Still same error: VirtualBox:~/cassandra-lucene-index$ git checkout cassandra-4.0.7 error: pathspec 'cassandra-4.0.7' did not match any file(s) known to git VirtualBox:~/cassandra-lucene-index$ git pull origin cassandra-4.0.7 warning: redirecting to github.com/Stratio/cassandra-lucene-index fatal: couldn't find remote ref cassandra-4.0.7 Apr 3, 2023 at 6:59
  • I directly downloaded jar file "cassandra-lucene-index-plugin-4.0.4-1.0.0.jar" from github.com/instaclustr/cassandra-lucene-index/releases and put it to $CASSANDRA_HOME/lib. Restarted cassandra and then able to create Index Apr 3, 2023 at 8:56
  • but seems its not working as I am still getting prompt to use allow filtering Apr 3, 2023 at 9:16
  • 1
    created Lucene Index country_index_organization on mymovie.organization but its still asking for ALLOW FILTERING Dropped Lucene index and created secondary index. It worked Apr 3, 2023 at 10:44
  • Hello all, I am able to implement lucene index successfully. Thanks all for your help May 24, 2023 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.