This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Extensions » eZ Find » Solr index crash in multi-site...
expandshrink

Solr index crash in multi-site environnement

Solr index crash in multi-site environnement

Thursday 06 October 2011 1:11:50 pm - 3 replies

Hello everyone,

Under certain environnement i still have serious problems with ezfind/solr content indexation :

  • results disappearing
  • partial results
  • content never indexed
  • no content at all

I first thought it has to be related to the fact i have two ezpublish installations on the same server, sharing the same solr process with the same siteaccess on both ezpublish installations.

But i verified every ezsite_data.ezfind_site_id on every databases to be shure two sites don't have the same value and the problem remains so its not related to the ezfind_site_id.

My question is :

Does ezfind support the environnement described here :

  • Multiple ezp installation
  • Multiple siteaccess - in hostname match - inside each ezp installation
  • Sometimes same siteaccesses across those ezp installation
  • Every websites of every ezp installation sharing the same solr process

If yes does anybody has any idea what can't lead solr/ezfind to remove or corrupt its index for a website when another website is publishing something ?

Thanx in advance for any help.

Modified on Thursday 06 October 2011 3:59:38 pm by H-Works Agency

Thursday 06 October 2011 4:00:42 pm

First thing i found is : Don't use "--clean-all" with updatesearchsolrindex.php when you use ezfind on multiple sites or it will remove all datas in all websites except the one your are reindexing.

Monday 17 October 2011 10:56:31 pm

You are not using solr's multicore feature? It has the benefit that the index data is separated on file level so you can easilly index the independent sites one by one.

Some documentation here:

http://doc.ez.no/Extensions/eZ-Publish-extensions/eZ-Find/eZ-Find-2.2/Advanced-Configuration/Using-multi-core-features

You can set up in each siteaccess which core should be used so that you can share cores on several siteaccesses.

 

Solr itself is working like a transaction database, you can index content and not until commit is send the data will not be visible. So if your indexing fails with fatal error....

Tuesday 18 October 2011 10:34:28 am

Thank you Artur for this information. I am gonna check this feature to see how i can use it.

+

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from