Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Very basic dude with Solr/Lucene [duplicate]

Tags:

solr

lucene

I am working in a project that has a large amount of data in Lucene. We need to show a faceted search and the time required for it is unacceptable when trying to simulate it using regular Lucene accesss.

I have been reading about Solr, but tutorials are not very clear about this basic point:

Is the data stored in the same way using Solr and Lucene? I mean, could I access the data I have stored with Lucene by using Solr or would I have to make a data migration?

like image 347
Carlos Avatar asked May 17 '26 22:05

Carlos


1 Answers

Yes, you can use the same Lucene index in a Solr instance. You only need to create a schema.xml to match the fields you have in your index.

like image 65
Mauricio Scheffer Avatar answered May 22 '26 04:05

Mauricio Scheffer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!