How to change Lucene version?

I have some questions about Lucene version.

  1. Are there any methods to change version of Lucene without change of Elasticsearch version?
  2. I want to apply the modified Lucene code(without version change) to my Elasticsearch. Is it possible?
    Please let me know how to do it if there is a way.

Is it completely impossible?
Thank you.

Why would you do such a thing?

I want to modify the Lucene's indexing method for test and apply it to Elasticsearch.
I don't have a detailed idea, so I can't say it clearly yet.
But I just want to know before I start if it's possible.

You should do that from Elasticsearch source code then.
Modify your Lucene code, and update the dependency in Elasticsearch.

Have a look at this PR as an example of what could be needed:

1 Like

Thank you very much. I'll try it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.