Can a raw Lucene index be loaded by Solr?

Posted by wynz on Stack Overflow See other posts from Stack Overflow or by wynz
Published on 2010-04-26T18:44:13Z Indexed on 2010/04/26 19:03 UTC
Read the original article Hit count: 156

Filed under:
|
|
|

Some colleagues of mine have a large Java web app that uses a search system built with Lucene Java. What I'd like to do is have a nice HTTP-based API to access those existing search indexes. I've used Nutch before and really liked how simple the OpenSearch implementation made it to grab results as RSS.

I've tried setting Solr's dataDir in solrconfig.xml, hoping it would happily pick up the existing index files, but it seems to just ignore them.

My main question is:

Can Solr be used to access Lucene indexes created elsewhere? Or might there be a better solution?

© Stack Overflow or respective owner

Related posts about solr

Related posts about api