On 13 July 2013 00:19, Shawn Heisey <s...@elyograg.org> wrote: > On 7/12/2013 12:30 PM, sagarmj76 wrote: >> >> hi I wanted to understand if it is possible to store/save Solr indexes to >> the >> database instead of the filesystem. I checked out some articles where >> lucene >> can do it. Hence I assume Solr can too but its not clear to me how to >> configure Solr to save the indexes in the database instead in the /index >> directory. >> Any help is really appreciated as I think I have hit a wall with this. [...]
As others have noted, think twice about why you would want to do this. Lucene does it through JdbcDirectory but as far as I know this is only an interface without a concrete implementation, though apparently third-party libraries are available that implement JdbcDirectory. The Lucene FAQ notes that this is slow: http://wiki.apache.org/lucene-java/LuceneFAQ#Can_I_store_the_Lucene_index_in_a_relational_database.3F Regards, Gora