[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150066#comment-15150066 ]
Ingo Wolfmayr commented on OFBIZ-6715: -------------------------------------- Hi Shi, thanks for the patch. I will test the whole solr implementation within the next days. There is one thing that already needs some attention: the current implementation does not respect multiple tenants - every tenant writes to solrDefault-core. I would assume that every single tenant should have its own solr-core assigned, if multi-tenant mode is enabled. 1) One way to solve this would be to use "EntityUtilProperties" instead of "UtilProperties" in SolrUtil. 2) It may also be possible to use the tenant name as solrCore name (demoCore, demo1Core) which may be the more secure way. (my favorite) 3) Or it could be defined in the tenant table. Thanks for all your work! Best regards, Ingo > Solr rebuild problem > -------------------- > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr > Affects Versions: Trunk > Reporter: Ingo Wolfmayr > Assignee: Shi Jinghai > Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, > schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, > stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)