Migrating lucene index to Elastic Search

2014-09-26 Thread akshay.jain
Hi, Is there any way to migrate a Lucene index to Elastic Search? Read somewhere that it is possible through a Java app which would read the documents from the Lucene index and then write it to the ES cluster. Is that possible and if yes, how? Still a newbie with all this :p Thanks in

RE: Issues with lucene 4.10.0 on android

2014-09-26 Thread Uwe Schindler
Hi Background: My company has built an Android application that utilizes Lucene 4.7.0 to index and search upon a fairly static set of about 100,000 documents. We have used numerous versions of Lucene over the years, and they have all worked well to accomplish this purpose. Issue: Upon

Re: Migrating lucene index to Elastic Search

2014-09-26 Thread Aditya
Hi Akshay It is better to post the question in Elastic Search group. If you have the data, it is better to direclty create index from Elastic Search. Regards Aditya www.findbestopensource.com On Fri, Sep 26, 2014 at 12:34 PM, akshay.jain akshay.j...@orkash.com wrote: Hi, Is there any way

Re: Migrating lucene index to Elastic Search

2014-09-26 Thread Jack Krupansky
And also clarify whether you are simply looking for how to change your Lucene code to write out an ES-compatible index vs. how to move the data from your Lucene index into a true ES index. Some of the answers in the past are that you can only move stored fields that you can read from Lucene

Re: Migrating lucene index to Elastic Search

2014-09-26 Thread akshay.jain
Hi Jack, What I want to do is to move the data from a Lucene index into an ES index. Thanks, Akshay - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail:

Re: Upgrading an index with a custom codec

2014-09-26 Thread Michael McCandless
In this situation you need to first, using 4.5.1, upgrade your entire index to the supported postings format ... then 4.8 can read the index. Mike McCandless http://blog.mikemccandless.com On Thu, Sep 25, 2014 at 4:00 PM, Michael Poindexter statics...@gmail.com wrote: I have an index that was

Optimum Lucene’s MMapDirectory size on 64bit OS

2014-09-26 Thread Gaurav gupta
Hi, As per the post The Generics Policeman Blog http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html , I am using the MMapDirectory for faster access(search and update operations ,mainly search) of Lucene 4.8.1 index files. I am contemplating what is the optimal maximum MMap

RE: Optimum Lucene’s MMapDirectory size on 64bit OS

2014-09-26 Thread Uwe Schindler
Hi, 1 GiB is the maximum possible. The chunk size is only applicable for 32 bit JDKs because of limited address space. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Gaurav gupta

Re: Optimum Lucene’s MMapDirectory size on 64bit OS

2014-09-26 Thread Gaurav gupta
Thanks Uwe for the insight ! Also, is it advisable to set the lower chunk size for smaller indexes, like below or let Lucene/OS manage by itself. I am just guessing that assigning lower value to smaller index will make sure that bigger index are getting higher mmap address space. *Index Name