You can just point your Solr instance at your Lucene index. Really, copy the Lucene index into the right place to be found by solr.
HOWEVER, you need to take great care that the field definitions that you used when you built your Lucene index are compatible with the ones configured in your schema.xml file. This is NOT a trivial task. I'd recommend that you try having Solr build your index, you'll probably want to sometime in the future anyway so you might as well bite the bullet now if possible... Plus, I'm not quite sure about version index issues..... Best Erick On Thu, Dec 2, 2010 at 11:54 AM, Bing Li <lbl...@gmail.com> wrote: > Hi, all, > > I am a new user of Solr. Before using it, all of the data is indexed myself > with Lucene. According to the Chapter 3 of the book, Solr. 1.4 Enterprise > Search Server written by David Smiley and Eric Pugh, data in the formats of > XML, CSV and even PDF, etc, can be imported to Solr. > > If I wish to import the Lucene indexes into Solr, may I have any other > approaches? I know that Solr is a serverized Lucene. > > Thanks, > Bing Li >