Skip to main content
JohnStonecypher
Inspiring
March 3, 2023
Answered

Files not included in search

  • March 3, 2023
  • 2 replies
  • 318 views

When users use Search in my frameless help site, I want their seach to include the full text of the Word docs and PDFs I've uploaded to the assets/docs folder.  But it doesn't appear to be happening.  Help?

  • I'm using RH 2022.0.346, and everything is working fine, mostly.  In my preset for Frameless, all the filetypes are unchecked under Search > Select file types to exclude from search.
  • I've created a Word doc that includes the word "fecundity" in the text, and I've put that file in assets/docs.
  • When I generate the site and then publish it, I search for the word "fecundity," but the Word doc doesn't show up in the search results.

What am I doing wrong?

    This topic has been closed for replies.
    Correct answer Amebr

    Regarding Peter's first point. New UI only includes files in the output if they are included in the Table of Contents, or if they are linked to from topics included in your output.

     

    So if you link to the Word document from any of your topics, then the document should be included in your output automatically. It's worth double-checking to make sure they're there, though.

     

    However, if you don't link to the Word doc from any topics, then you will need to include it in the table of contents. If you don't want it to show up in the ToC, then you can set the "Hide in output" checkbox in the toc entry properties.

    2 replies

    AmebrCommunity ExpertCorrect answer
    Community Expert
    March 6, 2023

    Regarding Peter's first point. New UI only includes files in the output if they are included in the Table of Contents, or if they are linked to from topics included in your output.

     

    So if you link to the Word document from any of your topics, then the document should be included in your output automatically. It's worth double-checking to make sure they're there, though.

     

    However, if you don't link to the Word doc from any topics, then you will need to include it in the table of contents. If you don't want it to show up in the ToC, then you can set the "Hide in output" checkbox in the toc entry properties.

    JohnStonecypher
    Inspiring
    March 6, 2023

    The docs were NOT showing up in the output files.  So I followed Amebr's advice and linked to them from existing pages, and now it works perfectly in Search.  Thanks for the help!!

    Peter Grainge
    Community Expert
    Community Expert
    March 4, 2023
    1. Have the documents made it to the output folders?
    2. Does the search work in the local output rather than the published output?

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.