Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Apache Solr installed for JIra Index Setting

Khalid Bin Sattar September 15, 2020

I have one question. I have installed Apache Solr for Jira Index setting. I have configured the Core Solr and checked all the queries works fine. But I have seen most of the guides and suggestions support Lucene for this purpose. As I am a newbie in Jira field, Could any one just enlighten me that am I going properly or should I need to install Lucene ? Previously I have heard that Solr is easier and best option than Lucene and that's why I have installed it.Also how should I get the Jira data set to test the indexing or queries?  Please help me with this.

 

Thanks

 

Khalid

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2020

You don't just rip out a core component of a piece of software and jam in an alternative like that.  That is a bit like buying a petrol-powered Rolls Royce and saying "I'll just throw away the Rolls Royce engine and drop in a Tesla one".

You've got quite a lot of work to do - start by downloading the source code of Jira, then you'll need to find and rewrite every interface between the main logic and the index.  Bear in mind that this will render your Jira unsupported and you'll need to re-apply and re-test all your code changes on every possible upgrade.  It took years for Atlassian just to upgrade the version of Lucence in use for version 8 of Jira, moving to another search system is a much bigger task.

Khalid Bin Sattar September 16, 2020

My jira is already installed and running on my local datacenter. Actually which on is better I mean Lucene or Solr for the search system for that. I have installed the Solr but I did not get any proper documents where I can set the data set to test the Jira Indexing with the help of Solr.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2020

So how have you re-written Jira to use Solr instead of Lucene?

Khalid Bin Sattar September 16, 2020

Could you please tell me how can I build Jira indexing from scratch with Apache Lucene ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2020

You don't need to, it is built into Jira.   But if you do want to build it from scratch, download the source code for Jira and compile it.

I think there is a bit of a problem in our understanding of each other here.

Could you explain what you are trying to achieve here?  Not the implementation (technologies in use, code etc), but the end goal.  Why are you asking about Solr and indexing?  What are you trying to do for your users?   What do they get out of this if you can get to do it?

Suggest an answer

Log in or Sign up to answer