Copied to clipboard

Flag this post as spam?

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


  • Mads Sørensen 188 posts 433 karma points
    Jul 13, 2016 @ 13:44
    Mads Sørensen
    0

    Full Text search - Umbraco 7 - Macro

    Hi Guys I'm looking in to this great tool but can't really find good tuts on how to make this work on an Umbraco 7 install (7.2.4).

    I've tried to do as followed:

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
    @{
        Layout = "Master.cshtml";
    }
    
    @Umbraco.RenderMacro("FullTextSearch", new {
      queryType="MultiRelevance", 
      titleProperties="Name", 
      bodyProperties="Name", 
      summaryProperties="Name", 
      titleLinkProperties="", 
      rootNodes="1055", 
      contextHighlighting="1", 
      summaryLength="200", 
      pageLength="200", 
      fuzzyness="", 
      useWildcards="0"
    })
    

    So this is basicly a view whit the Macro inserted but no Cookie ;D

    The page dosent give me any errors - just that no content was found.

    I've no clue what i'm doing wrong - so hope that someone can make me go further with this package :)

  • Naveed Ali 161 posts 426 karma points
    Jul 13, 2016 @ 14:25
    Naveed Ali
    1

    Hi,

    This may be of help to you go through the installation and set up process you may have missed something

    https://fulltextsearch.codeplex.com/

    Thanks

    Nav

  • Martin 44 posts 66 karma points
    Jul 14, 2016 @ 14:32
    Martin
    1

    Hi Mads,

    Try removing rootNodes. That setting seems to break my search.

  • Søren Kottal 712 posts 4570 karma points MVP 6x c-trib
    Jul 14, 2016 @ 18:38
    Søren Kottal
    1

    Did you set Enabled to true in FullTextSearch.config?

    Also, make sure your url in HttpUrl in FullTextSearch.config is correct.

    I tend to forget those two settings :)

  • Mads Sørensen 188 posts 433 karma points
    Jul 15, 2016 @ 10:06
    Mads Sørensen
    0

    Hi guys, i made it work but with this setting set to false?!?

    <Enabled>false</Enabled>
    

    Well now a news issue came up.

    I've a lot off words spelled like this: "O-ring" or "O-rings".

    When i try to search for the word with the hyphen icon "-" it says:

    "Your search for 'o-ring' did not match any documents."

    But if trying to search for "O ring" it works perfect. is there a way to include the "-" sign/mark when you are searching?!?

    Any help would be appreciated :D

Please Sign in or register to post replies

Write your reply to:

Draft