Elastic search over an already existing lucene index


(Ramprakash Ramamoorthy) #1

I have a system that uses lucene. Now for a few reasons I would like
to add a distributed search feature over it.

The question is can I use the existing lucene index created by the
IndexWriter of lucene, for searching with elastic search or should I
create a new index using ES's IndexWriter. Do note that the Lucene
version we have used is 2.3.1. Any help would be appreciated.


(Clinton Gormley) #2

On Tue, 2012-02-14 at 03:36 -0800, Ramprakash Ramamoorthy wrote:

I have a system that uses lucene. Now for a few reasons I would like
to add a distributed search feature over it.

The question is can I use the existing lucene index created by the
IndexWriter of lucene, for searching with elastic search or should I
create a new index using ES's IndexWriter. Do note that the Lucene
version we have used is 2.3.1. Any help would be appreciated.

You will need to reindex into ElasticSearch

clint


(Ramprakash Ramamoorthy) #3

On Tue, Feb 14, 2012 at 5:15 PM, Clinton Gormley clint@traveljury.comwrote:

On Tue, 2012-02-14 at 03:36 -0800, Ramprakash Ramamoorthy wrote:

I have a system that uses lucene. Now for a few reasons I would like
to add a distributed search feature over it.

The question is can I use the existing lucene index created by the
IndexWriter of lucene, for searching with elastic search or should I
create a new index using ES's IndexWriter. Do note that the Lucene
version we have used is 2.3.1. Any help would be appreciated.

You will need to reindex into ElasticSearch

clint

Dear clint,

     Thanks for your answer. The idea behind me asking if I could

re-use the same index is that, I didn't want to disturb the
already existing lucene instance. If the only way is to re-index, then I
will have to look for some other option.

     Just want to know if there is any other way other than re-indexing.

--
With Thanks and Regards,
Ramprakash Ramamoorthy,
Project Trainee,
Zoho Corporation.
+91 9626975420


(Shay Banon) #4

No, you need to reindex.

On Tuesday, February 14, 2012 at 1:50 PM, Ramprakash Ramamoorthy wrote:

On Tue, Feb 14, 2012 at 5:15 PM, Clinton Gormley <clint@traveljury.com (mailto:clint@traveljury.com)> wrote:

On Tue, 2012-02-14 at 03:36 -0800, Ramprakash Ramamoorthy wrote:

I have a system that uses lucene. Now for a few reasons I would like
to add a distributed search feature over it.

The question is can I use the existing lucene index created by the
IndexWriter of lucene, for searching with elastic search or should I
create a new index using ES's IndexWriter. Do note that the Lucene
version we have used is 2.3.1. Any help would be appreciated.

You will need to reindex into ElasticSearch

clint

Dear clint,

     Thanks for your answer. The idea behind me asking if I could re-use the same index is that, I didn't want to disturb the already existing lucene instance. If the only way is to re-index, then I will have to look for some other option. 

     Just want to know if there is any other way other than re-indexing.

--
With Thanks and Regards,
Ramprakash Ramamoorthy,
Project Trainee,
Zoho Corporation.
+91 9626975420


(system) #5