Issue: What's the best approach to search across multiple different sites using Examine?
I have 2 different websites, on 2 different servers, and I want to search across both of them.
Let's call the first website: "Spoon" and the second "Fork".
I have some news on "Spoon", they are all saved in a custom Examine Index, I want to be able to search in those news on the website "Fork".
"Fork" also has its own search index, so I need to search across both indexes and order them by their score.
The easy, but slow way would be to search on "Spoon" using an API, which searches news on "Spoon" and then returns the request to "Fork" and then orders results according to score.
But is it possible to somehow share the index from "Spoon" to "Fork"? Similar to how it works in load balanced enviroments?
The examine indexes are specific to the current site.
I think you need to set up your own index that you can access in both sites. Maybe Azure search can help you out. But you can run into issues because content A on "Spoon" can have the same id as content X on "Fork".
It's possible but it will need custom development.
Share examine index across different sites
Hey Everyone :)
Issue: What's the best approach to search across multiple different sites using Examine?
I have 2 different websites, on 2 different servers, and I want to search across both of them.
Let's call the first website: "Spoon" and the second "Fork".
I have some news on "Spoon", they are all saved in a custom Examine Index, I want to be able to search in those news on the website "Fork". "Fork" also has its own search index, so I need to search across both indexes and order them by their score.
The easy, but slow way would be to search on "Spoon" using an API, which searches news on "Spoon" and then returns the request to "Fork" and then orders results according to score.
But is it possible to somehow share the index from "Spoon" to "Fork"? Similar to how it works in load balanced enviroments?
Umbraco Version: 7.3.4
Hi Patrick,
Out of the box...the answer is NO.
The examine indexes are specific to the current site.
I think you need to set up your own index that you can access in both sites. Maybe Azure search can help you out. But you can run into issues because content A on "Spoon" can have the same id as content X on "Fork".
It's possible but it will need custom development.
Dave
is working on a reply...