[ 
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.

> Update Apache Solr/Lucene to release 6.2.1
> ------------------------------------------
>
>                 Key: OFBIZ-8316
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8316
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: lucene, solr
>    Affects Versions: Trunk
>            Reporter: Michael Brohl
>            Assignee: Shi Jinghai
>            Priority: Minor
>         Attachments: OFBIZ-8316_corrected.patch, 
> ofbiz-truck-lucene-6.2.1.patch, ofbiz-truck-solr-6.2.1.patch, 
> solr6.2.1_1.patch
>
>
> According to the announcements in 
> https://lists.apache.org/thread.html/5d2cb1ecbe04c6c40b8eeba3b7f8da586d1271af98c9b07ceee8ada2@%3Cannounce.apache.org%3E
>  and 
> https://lists.apache.org/thread.html/c1269b52229f6bce68399e813b7c6b79eb3f6283ae21bde11c82fc7c@%3Cannounce.apache.org%3E
>  there is a new Solr/Lucene release available.
> This issue takes care of the update.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to