I was going to make the same suggestion. That's how I'd do it. For index format changes, check CHANGES.txt file (should be linked from Lucene's home page).
Otis --- Chris Hostetter <[EMAIL PROTECTED]> wrote: > Why not put the application on the CD as well? .. or at a minimum, > the > lucene JAR. That way you never have to worry about the possibility > of it > changing. > > : Date: Mon, 18 Jul 2005 16:32:33 -0400 > : From: "Tardif, Sebastien" <[EMAIL PROTECTED]> > : Reply-To: java-user@lucene.apache.org > : To: java-user@lucene.apache.org > : Subject: Static index on CD, how much forward compatible is the > index > : > : Otis, > : > : Let say I have a static index on CD, and my customer will be using > this > : CD for the next 10 years. I will also probably fix bug in the > : application that use the CD and probably want to upgrade Lucene > library > : at some point. How much backward compatible is Lucene with old > index > : when Lucene release new version? > : > : Does Lucene has any "good" history on index backward compatibility? > : > : > : > : -----Original Message----- > : From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] > : Sent: Friday, July 15, 2005 3:34 PM > : To: java-user@lucene.apache.org > : Subject: Re: Runtime full text search like in Microsoft Windows > Search > : > : As somebody already said, you can have an in-memory index with > : RAMDirectory. You can also pre-build a Lucene index on that CD - > CD is > : "static", you can't add/remove/change files on it, so you can build > an > : index and burn it onto the CD at the same time when you put the > Word > : files on it. > : > : As for getting the indexable text out of Word and other documents, > look > : at the code for the Lucene book - http://lucenebook.com - there is > a > : little framework there, that parses and indexes a number of common > file > : types. > : > : Otis > : > : > : --- "Tardif, Sebastien" <[EMAIL PROTECTED]> wrote: > : > : > How can you use Lucene like the very limited but fast search that > : > Microsoft Windows Search provide? > : > > : > The use case is that the users have a CD with lot of files. I > provide > : > them a nice user interface. They have the option to generate the > full > : > text search index but they should also be able to search without > an > : > index generated. I know that will be slow, but Microsoft Windows > : > Search is still able to search 500 MB in less than 30 seconds for > : > simpler matching. > : > > : > How can I use Lucene for this simpler, not existing index, > search? > : > > : > Or should I have to hook to operating system specific API like > Win32 > : > on Windows? > : > > : > : > : > --------------------------------------------------------------------- > : To unsubscribe, e-mail: [EMAIL PROTECTED] > : For additional commands, e-mail: [EMAIL PROTECTED] > : > : > : > --------------------------------------------------------------------- > : To unsubscribe, e-mail: [EMAIL PROTECTED] > : For additional commands, e-mail: [EMAIL PROTECTED] > : > > > > -Hoss > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]