Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
So I'm having a lot of issues developing a multi-tenant site for umbraco, this mainly comes down to the fact that although Umbraco supports multi-tenancy the architecture isn't quite there yet. But I'm getting there. My latest issue is with Examine and indexing. When you search something internally results are returned for the entire installation, and i cant see how to limit the search to just the current tenant.
Does anyone have any ideas on how i could do this, or is there a better plugin out there?
Hello There, MT,
I'm doing exactly this right now with a multi-tenant site and am not having any problem. I think it really depends much on the architecture of your sites. In my particular instance, each site was created as a separate entity that is not inheriting from a base element. I'm imagining that your content view looks a little something like this:
Is that correct?
This becomes a little difficult to search through, although I believe even with this architecture, it could work w/ some modifications to the examine config files. I have to write an extension to the Umbraco backend right now that requires me to delve deep into search, so I'll be able to give you a lot more info in a couple of days.
Our structure is simply:
We got this working w/ examine right out of the box, by not having a root node that the others inherit from. Actually, I hate that architecture & I didn't do it, but it did provide the benefit of search results being site specific. Will write more in a few days when I have more answers.
Thanks for the reply Brandon,
I am using the same architecture as yourself, after adding more content i've realised that it is just the custom section content that I'm seeing for all tenants, I guess this is because I'm using a a custom getByTennant() call, i will look into fetching by ID.
Many Thanks, M
You asked about Examine internal Indexing doesn't work with Multi-tenancy. Can you please tell me how you implemented Multi-tenancy ?. Or Suggest me some logic.
Thank you,Any help will be appreciated.
Hello M T,
Did you achieve Multi-Tenancy with multiple Database approach?
Did you write your own "gatherer", I'd also be interested in knowing how you implemented multi-tennacy
You can download the ezsearch package. Each search page on your multi tenant site can use the ezsearch macro to render the search results and pass in the parent root ID to limit the search results to that particular tenant. Hope that helps!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted