ezfind : 1 ezpublish, X websites = X solr core ?

Author Message

Matthieu Sévère

Thursday 15 July 2010 5:51:51 am

Hi,

I have on eZ Publish instance on 1 DB. This instance host X different websites (using rootNodeId to define several content tree).

What do you advise to set-up solr (of course each site must search only in his content tree) ?

I just set up a solr where I define a core for each siteaccess but when I run updatesearchindex it looks like everything is indexed in each core ...

Note : each site can have several languages

Thanks for sharing your ideas :)

--
eZ certified developer: http://ez.no/certification/verify/346216

Matthieu Sévère

Thursday 15 July 2010 7:20:25 am

I am starting to think that I am obliged to use one core for every language and all content trees and do filtering on rootNodeId to search only in content related to current website.

--
eZ certified developer: http://ez.no/certification/verify/346216

Ivo Lukac

Thursday 15 July 2010 8:14:16 am

Yes, one core for every language is the best.

There is a non-documented option in updatesearchindex script for top_node_id but I am not sure that it will work nice after the first index.

Anyway, 1 core for every language is good enough. If you share content in db, there is no reason to divide it in the index. Filtering on root node_id is easy to implement.

Cheers

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Matthieu Sévère

Thursday 15 July 2010 8:55:15 am

Thanks Ivo !

--
eZ certified developer: http://ez.no/certification/verify/346216

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.