Re: 2.4 questions

2008-09-15 Thread Michael McCandless
We are in the [slowish] process of releasing 2.4 now -- we are down to 3 2.4 issues: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=12310110&fixfor=12312681 Once these are resolved then we'll work

Re: 2.4 questions

2008-09-15 Thread Cam Bazz
out of curiousity and somewhat unrelated to this thread. when can we expect to see 2.4? it seems much much as changed. so people would want to port their code? Best. On Mon, Sep 15, 2008 at 10:56 PM, Michael McCandless <[EMAIL PROTECTED]> wrote: > > Cam Bazz wrote: > >> well, I did not understan

Re: 2.4 questions

2008-09-15 Thread Michael McCandless
Cam Bazz wrote: well, I did not understand here. so there is a no way of using the new constructor - and specify autoCommit = false ? That's right, until 3.0. I would prefer to have a new API, introduced in 2.4 and kept in 3.0, that has autoCommit=false as its default (without being speci

Re: 2.4 questions

2008-09-15 Thread Cam Bazz
well, I did not understand here. so there is a no way of using the new constructor - and specify autoCommit = false ? Best On Mon, Sep 15, 2008 at 10:30 PM, Michael McCandless <[EMAIL PROTECTED]> wrote: > > Cam Bazz wrote: > >> However the documentation states that autoCommit=true. > > For now,

Re: 2.4 questions

2008-09-15 Thread Michael McCandless
Cam Bazz wrote: However the documentation states that autoCommit=true. For now, keep using the deprecated API and specify autoCommit=false. Then in 3.0, when IndexWriter switches to autoCommit=false, remove the boolean autoCommit from your constructor. How do we disable this? In 2.3 I

Re: 2.4 questions

2008-09-15 Thread Cam Bazz
great! well I never use autoCommit=true. However the documentation states that autoCommit=true. How do we disable this? In 2.3 I used to do a: writer.setMaxBufferedDocs(IndexWriter.DISABLE_AUTO_FLUSH); would that totally disable autoCommit, or will it autoCommit when the ram usage reaches a ce

Re: 2.4 questions

2008-09-15 Thread Michael McCandless
Cam Bazz wrote: Hello, I see that IndexWriter.flush() is depreciated in 2.4. What do we use? Looks like you already found it, but the javadoc says this: * @deprecated please call [EMAIL PROTECTED] #commit()}) instead Also I used to make a: try { nodeWriter = new I

2.4 questions

2008-09-15 Thread Cam Bazz
Hello, I see that IndexWriter.flush() is depreciated in 2.4. What do we use? Also I used to make a: try { nodeWriter = new IndexWriter(nodeDir, true, analyzer, false); } catch(FileNotFoundException e) { nodeWriter = new IndexWriter(nodeDir, true, analyzer,