I am new to SOLR but am aware that it is built on top of lucene. I was wondering if it is possible to use existing NHibernate Search, which obviously works directly with Lucene, to add/update items in SOLR? If so, is this considered a bad practice?
Thank in advance,
JP
NHibernate.Search deals with Lucene.NET, which works at a very different level than Solr. It just doesn't make sense to use the same code with Solr, which BTW is a different process.
The closest thing is the SolrNet-NHibernate integration. Or you can write your own NHibernate event listeners to map your NHibernate entities to Solr. Or use something entirely different, like the DataImportHandler. There are many options...