Do I have to set the datasource that my index references? My data is stored in a database, I want Solr to look up the data in that database using my existing index. At the moment, I have set the <dataDir> element in my solrconfig to point at my existing index, and checked the schema on my existing index using Luke but I can't get any results when searching in Solr.
My index was created using hibernate-search. How I can retrieve my data in Solr, using the existing Lucene index? I think I need to set the database connection details somewhere, just not sure where. I have set up a dataImport handler, but I don't want that to overwrite my exising index. yonik wrote: > > On 6/21/06, Tricia Williams <pgwil...@student.cs.uwaterloo.ca> wrote: >> I was wondering if there are any major differences in building an >> index >> using Lucene and Solr. If there is no substantial differences, how would >> one >> go about using an existing index created using Lucene in Solr? > > You can definitely do that for the majority of indicies w/o writing > any code... you just need to make sure the schema matches what is in > the index (make the analyzers for the field types compatible, etc). > > If you have access to the source code that built the index, start > there. If you don't then open up the index with Luke to see what you > can find out. > > -Yonik > > -- View this message in context: http://www.nabble.com/Using-Lucene-index-in-Solr-tp4983079p21346212.html Sent from the Solr - User mailing list archive at Nabble.com.