Copied to clipboard

Flag this post as spam?

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


  • Ran Chen 40 posts 117 karma points
    Mar 20, 2017 @ 22:48
    Ran Chen
    1

    Implementing site search

    It is quite surprising that when you google "Umbraco search", the first result is this page https://our.umbraco.org/documentation/reference/searching/examine/ which referres to v4.

    I'm trying to implement a search page on my site - quite simple - show search results, highlight etc. During the last years I was using ezSearch which was good enough, but it is not maintained anymore and there were some bugs I couldn't resolve.

    I was trying to use UmbracoHelper.Search(...) which does return the search results but I have found no documentation and I cannot find out how to configure it (basic search requirements - define of what nodes or fields to search, highlight search results, etc.)

    So - my question is quite general - what should we use when implementing site search in version 7 ? How come there's no out-of-the-box (or at least not well documented ) solution ?

    Cheers, Ran

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    Mar 21, 2017 @ 07:56
    Dennis Adolfi
    3

    Hi Ran.

    You should use Examine when you are building search functionallity to you website. It's built-in and super fast.

    There is actually quite a lot of documentation about Examine at: https://our.umbraco.org/documentation/reference/searching/examine/, and it's not just for Umbraco v4, it referres to all versions. Especially have a look at the "Quick start" section.

    Also Rasmus Fjord has written a really good (and friendly) post about getting started with Examine: http://24days.in/umbraco-cms/2013/getting-started-with-examine/. After reading it you'll be an Examine Ninja. :)

    Best of luck to you!

    All the best! / Dennis

  • Ran Chen 40 posts 117 karma points
    Mar 21, 2017 @ 08:10
    Ran Chen
    1

    Thanks for your reply.

    The Quick Start page (https://our.umbraco.org/documentation/reference/searching/examine/quick-start) says "Applies to: Umbraco 4.11.5+", Does it also refer to the 7.x versions ? That might have been my source of confusion (thought it was just relevant for the old 4.x)

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    Mar 21, 2017 @ 10:28
    Dennis Adolfi
    100

    Ah, ok!

    Applies to: Umbraco 4.11.5+ means "Applies to all versions newer than Umbraco 4.11.5" and Umbraco 7.x is newer than 4.11.5.

    But I can see your confusion. :)

Please Sign in or register to post replies

Write your reply to:

Draft