Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Patrick Hansen 12 posts 82 karma points
    Mar 13, 2017 @ 08:52
    Patrick Hansen
    0

    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

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Mar 13, 2017 @ 11:09
    Dave Woestenborghs
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft