This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Extensions » eZ Find » ezfind : 1 ezpublish, X websites = X...
expandshrink

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

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

Thursday 15 July 2010 2:51:51 pm - 3 replies

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 happy.gif Emoticon

Thursday 15 July 2010 4:20:25 pm

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.

Thursday 15 July 2010 5:14:16 pm

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

Thursday 15 July 2010 5:55:15 pm

Thanks Ivo !

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from