[
https://issues.apache.org/jira/browse/OFBIZ-8316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16007244#comment-16007244 ]
Jacques Le Roux commented on OFBIZ-8316:
----------------------------------------
Thanks Jinghai, Michael,
Michael,
bq. I would leave it as it is here. Solr uses Lucene for indexing so there is in fact no Solr index but a Lucene index created through Solr. Since the component is named Solr, it makes sense to name it as is.
After JInghai's answer, I made a quick review. The runtime\indexes\content and runtime\indexes\product dirs are only used by Lucene. The runtime\indexes\solr is only used by Solr. So I suggest rather to have as defaults runtime\indexes\lucene\content and runtime\indexes\product and to keep runtime\indexes\solr as is. I agree it should be configurable and it's worth another issue, I'll create one after closing here, where from my POV all is clear.
I noticed that Solr separates the index and the data (snapshot_metadata) and not Lucene. For Solr this is related with solr.data.dir definition, in OFBIz it's runtime/indexes/solr (I changed that recently with OFBIZ-7265)
bq. <dataDir>${solr.data.dir:runtime/indexes/solr}</dataDir>
I think it's not an issue, our usage of Lucene is OFBiz specific.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)