Copied to clipboard

Flag this post as spam?

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


  • Megha 8 posts 78 karma points
    Apr 10, 2023 @ 04:36
    Megha
    0

    Lucene Searching in Umbraco 11

    Hello... Is this Possible to Perform Lucene search in umbraco 11 ? Please provide Any documentation for it.

    Thank you!

  • Dhanesh Kumar MJ 158 posts 511 karma points c-trib
    Apr 10, 2023 @ 06:29
    Dhanesh Kumar MJ
    0

    Hello Megha,

    Yes, the search in Umbraco is powered by Examine out of the box, which is a Lucene-based search, check this documentation for more details and examples.

  • Megha 8 posts 78 karma points
    Apr 10, 2023 @ 08:51
    Megha
    0

    I Implemented searching using Examine search but now i want that if customer write any whitespace, case insensitive and make any spelling mistakes then also suggest the result its like fuzzy search..

    How can i able to do so please suggest.

    Thank you.!!

  • Dhanesh Kumar MJ 158 posts 511 karma points c-trib
    Apr 10, 2023 @ 09:16
    Dhanesh Kumar MJ
    1

    Try this example:

       terms.SelectMany(x => new[]
                                    {
                                        x.MultipleCharacterWildcard(),
                                        x.Fuzzy(/*value*/),
                                    }).ToArray();
    

    terms => IEnumerable <string> & here Examine.SearchExtensions you can find more extension methods.

Please Sign in or register to post replies

Write your reply to:

Draft