Re: autoCommit

2008-11-10 Thread ChadDavis
That's easy. Thanks. On Mon, Nov 10, 2008 at 1:12 PM, Michael McCandless < [EMAIL PROTECTED]> wrote: > > Actually, all non-deprecated ctors of IndexWriter set autoCommit to false. > Ie, in 3.0 autoCommit false will become the only option. > > Mike > > > C

Re: incremental update of index

2008-11-10 Thread ChadDavis
doc id). It could be the URL, the file path > on disk, a document ID from your organization... the > possibilities are endless. Which is why Lucene can't do that > for you. > > Best > Erick > > On Mon, Nov 10, 2008 at 2:22 PM, ChadDavis <[EMAIL PROTECTED] > >wrot

autoCommit

2008-11-10 Thread ChadDavis
The FAQ's have this index performance tip: Use autoCommit=false when you open your IndexWriter > > In Lucene 2.3 there are substantial optimizations for Documents that use > stored fields and term vectors, to save merging of these very large index > files. You should see the best gains by using au

incremental update of index

2008-11-10 Thread ChadDavis
In the FAQ's it says that you have to do a manual incremental update: How do I update a document or a set of documents that are already indexed? > > There is no direct update procedure in Lucene. To update an index > incrementally you must first *delete* the documents that were updated, and > *the

Re: ScoreDoc

2008-11-09 Thread ChadDavis
other words, the > score will not necessarily be a float whose value is between 0 and 1. > Is this just stale documentation ? On Sun, Nov 9, 2008 at 3:28 PM, ChadDavis <[EMAIL PROTECTED]>wrote: > The sample code uses a ScoreDoc array to hold the hits. > > ScoreDoc[] hits

ScoreDoc

2008-11-09 Thread ChadDavis
The sample code uses a ScoreDoc array to hold the hits. ScoreDoc[] hits = collector.topDocs().scoreDocs; But the JavaDoc says "Expert: Returned by low-level search implementations." Why would the tutorial sample code use an "expert" api?

Re: changes

2008-11-09 Thread ChadDavis
I'm not sure why it's missing (it was > before my time!). > > Mike > > > ChadDavis wrote: > > I'm upgrading from a very old version of lucene to 2.4 I tried to >> research >> all the possible changes, this included reading the change file from the &g

changes

2008-11-07 Thread ChadDavis
I'm upgrading from a very old version of lucene to 2.4 I tried to research all the possible changes, this included reading the change file from the 2.4 version, which appears to reach back through all of the versions. However, I'm finding major API changes that aren't documented in that file. Fo

Store versus Index

2008-11-07 Thread ChadDavis
I just need a little confirmation of my understanding here. If i say that a field is to be stored, the entire thing is written to the index. It might also be indexed in a tokenized fasion if i also specify that. What are the advantages to storing a field then? So you can search for that field? J

searchable archives

2008-11-07 Thread ChadDavis
Hey, Is this list available somewhere that you can search the entire archives at one time? Thanks, Chad