Introducing OpenSearch for Jira

Thanks @WillYasvoin

I assume that you currently control the replication of documents which you write to your index?

Yes. Because of the way our index is structured, we can replicate quite simply.

Is the data stored in this index an extension of the Jira Issue data or is it separate?

It is currently a separate index. We do not interfere in any way with the existing index in Jira.
However, our plans are to start using an internal index as well.

So far, our question is more about the fact that we are actually using the dependency to lucene as provided by Jira.
Will the dependency also still be provided,
or can we bring it in on our own,
or will it be considered to be blocked?

Thanks for the insights @NikolayShmakov

We will most likely still provide it.

Thanks
Will

1 Like

Greetings!
Now we are interested in the alternative to the following:

com.atlassian.jira.jql.query.CommentClauseQueryFactory
  -> com.atlassian.jira.jql.query.CommentClauseQueryFactory#getQuery
  -> com.atlassian.jira.jql.query.IssueIdJoinQueryFactory -> 
  -> org.apache.lucene.search.join.JoinUtil
  -> org.apache.lucene.search.join.TermsIncludingScoreQuery

In the current Jira’s implementation we can join our indexes from different directories to perform a search.
Will an alternative to this join be presented?

Hi @WillYasvoin ,
Last query, so:

I’m confirming as I’d like to avoid any re-work in future.

Thanks for help, always!

Hi @NikolayShmakov,

Yes, you should be able to achieve this by using the Search API ChildQuery.

1 Like

Hi @NikhilDiwan,

Correct, once you’ve migrated to the Search API, no further changes will be necessary and your app will work with Lucene or OpenSearch.

1 Like

Hi @WillYasvoin

Do I understand correctly that Lucene packages will be available until Jira 11? The introduction of the new API in Jira 10.4 does not cause the old API to stop working and this will only happen with the introduction of Jira 11?

Best regards
Przemysław Banasik

Hi @PrzemyslawBanasikApp,

You are correct. New API does not affect existing API. Lucene packages will still be available in Jira 11 however, all existing API within Jira which references Lucene, will be removed. Please refer to the Search API upgrade guide for more details.

Regards
Will

Cross-posting for visibility: OpenRewrite recipe to identify Search API migrations for Jira 11