Searching in the help center

4 Comments

  • Chris Stock
    Comment actions Permalink

    It sounds like you would need to build a completely custom search engine. Would the external links be the same each time, or would they vary depending on the search term? Where would the links come from and how many might there be?

    0
  • Jason Fouchier
    Comment actions Permalink

    Hey @Chris,

     

          That was my initial thought, it would be a list of common words that referenced documentation on a secure company site. I figured a max of a dozen links per search term. I thought the easiest way to do it would be a static list of words referenced to a static list of links, but every time I tried to match the query to a keyword, I got nowhere. I assume this is because the curlybraces looks for a boolean (if I read the article properly)? So, what I thought might be some low hanging fruit appears to be a bit higher up then I anticipated lol.

     

    Thanks,

     

         Jason Fouchier

    0
  • Chris Stock
    Comment actions Permalink

    I don't think you'll be able to use the curly braces for that, but you could probably achieve it with a custom .js file - the script would need to use the search term, check for a key word, return the links associated with that word and then insert them into the HTML. The search page contains the search term, so this should be possible.

    0
  • Jason Fouchier
    Comment actions Permalink

    Hey @Chris,

         Thanks for the input. That was the path I figured I would be heading down, but it is always good to check and make sure.

     

    Thanks,

     

         Jason Fouchier

     

     

    0

Please sign in to leave a comment.

Powered by Zendesk