Lucene 2.x to 4.x upgrade possible?

2012-07-17 Thread Nilesh Vijaywargiay
Hi Folks, I need your help in determining whether we upgrade to 3.6 or wait till 4.0 becomes stable. We are currently using 2.x version of lucene and would like to upgrade to 3.6(and 4.0 ultimately). But we were informed by few blogs that 4.0 will not be backward compatible which means that the o

Re: Failed to create text index reader for .frq file

2011-11-17 Thread Nilesh Vijaywargiay
va7, you should be aware > of: > > http://lucene.apache.org/solr/#28+July+2011+-+WARNING%3A+Index+corruption+and+crashes+in+Apache+Lucene+Core+%2F+Apache+Solr+with+Java+7 > > What happens if you point Luke at your index? > > Best > Erick > > On Tue, Sep 6, 2011 at 3:33 PM,

Failed to create text index reader for .frq file

2011-09-06 Thread Nilesh Vijaywargiay
Hi, I am facing a error while processing a set of data.. the description says "Failed to create text index reader for .../.../_166.frq (The System cannot find the specified path). I have never seen this error in the past neither have I seen this file in the index folder ever. Does lucene take ca

spaces in the field name

2011-06-23 Thread Nilesh Vijaywargiay
I have a situation where the field name consists of spaces. So a query like *short text: value* doesn't return any results as the query structure internally would be *defaultField:short text:value* * * *Any work around for including spaces in your field name?* * * *Nilesh* * *

Re: Best way to create a Lucene Index with fields that can be updated frequently, and filtering the results by this field.

2010-11-01 Thread Nilesh Vijaywargiay
Hey Iam, I have worked on the approach number 3 recently. It suits our requirement although its not the best way to do incremental updates. Please find the details here Nilesh On Mon, Nov 1, 2010 at 12:25 PM, Iam Jabour wrote:

Re: Lucene index update

2010-10-27 Thread Nilesh Vijaywargiay
o have a parallel reader that combines result > sets across two indices based on docId? > > On Thu, Oct 28, 2010 at 12:17 AM, Nilesh Vijaywargiay < > nilesh.vi...@gmail.com> wrote: > > > Pulkit, > > Parallel reader takes the union of all fields for a given id. Thus if

Re: Lucene index update

2010-10-27 Thread Nilesh Vijaywargiay
I have misunderstood. Just want to > understand your motivation here. > > On Wed, Oct 20, 2010 at 2:57 PM, Nilesh Vijaywargiay < > nilesh.vi...@gmail.com > > wrote: > > > I've written a blog regarding a work around for updating index in Lucene > > using parallel r

assign a id to document?

2010-10-20 Thread Nilesh Vijaywargiay
I understand lucene provides its own document id. can we assign this id in any way?

Lucene index update

2010-10-20 Thread Nilesh Vijaywargiay
I've written a blog regarding a work around for updating index in Lucene using parallel reader. It's explained with results and pictures. It would be great if you have a look at it. The link: http://the10minutes.blogspot.com/2010/10/lucene-index-update.html

using ParallelReader to update a document

2010-10-19 Thread Nilesh Vijaywargiay
I am trying to find a work around for updating fields and in turn the documents in the original index. I am using parallel reader and providing it two index, the second index being the first to be seen by parallel reader. The second index has same number of documents as first index[in this case,

Parse multiple fields using Queryparser

2010-10-18 Thread Nilesh Vijaywargiay
I have many fields in my document and want to parse my query including each of them QueryParser parser = new QueryParser(Version.LUCENE_29, "Field2",new StandardAnalyzer(Version.LUCENE_29)); Should I create multiple parsers in this case or is there any other way round?

Re: ParallelReader

2010-10-14 Thread Nilesh Vijaywargiay
.. that is: you are dealing > with "X", you are assuming "Y" will help you, and you are asking about "Y" > without giving more details about the "X" so that we can understand the > full issue. Perhaps the best solution doesn't involve "Y&quo

ParallelReader

2010-10-14 Thread Nilesh Vijaywargiay
I have two index, A and B. Can two documents doc1[in index A] and doc2[in index B] have a common field? doc1 and doc2 have same document Id's.

Re: Update lucene index

2010-10-12 Thread Nilesh Vijaywargiay
tp://ai-cafe.blogspot.com > > > On Tue, Oct 12, 2010 at 11:49 AM, Nilesh Vijaywargiay < > nilesh.vi...@gmail.com> wrote: > > > Anshum, > > Yea, I would like to do what you mentioned. The source won't be available > > at > > later time and also ot

Re: Update lucene index

2010-10-11 Thread Nilesh Vijaywargiay
7;t have access to the > original source at a later time? > > -- > Anshum Gupta > http://ai-cafe.blogspot.com > > > On Tue, Oct 12, 2010 at 11:35 AM, Nilesh Vijaywargiay < > nilesh.vi...@gmail.com> wrote: > > > Hi Group, > > > > I understand that

Update lucene index

2010-10-11 Thread Nilesh Vijaywargiay
Hi Group, I understand that the process of updating a document in lucene index is to delete the document and add it again. But I do not want to delete the document. I was thinking of a approach where I can create a new index with only the fields I want to update. And then may be I can some how me