Copied to clipboard

Flag this post as spam?

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


  • Yaco Zaragoza 88 posts 362 karma points
    Jul 28, 2023 @ 15:06
    Yaco Zaragoza
    0

    Global Site search

    Hello, I am still learning the basics of Umbraco and wanted to know if there is a way to create a search box on the frontend that will allow users to search ALL the content of the site.

    furthermore, can it be extended to scan the files and make them part of the search results?

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Jul 29, 2023 @ 08:33
    Marc Goodson
    101

    Hi Yaco

    Umbraco ships with a third party package called 'Examine' which is a wrapper around Lucene.Net for indexing text content.

    Your site will come with three indexes

    InternalIndex (used by Umbraco for the backoffice search, so includes unpublished and protected content) MembersIndex ( used by Umbraco to index Member information) ExternalIndex (provided for you to use on the front end of the site, by default does not include protected or unpublished content!)

    The documentation for using the ExternalIndex within your site implementation is here:

    https://docs.umbraco.com/umbraco-cms/reference/searching/examine

    You can customise the indexes and add additional content during indexing.

    There is a package called Umbraco.ExaminePDF that you can install which will then index the content of PDFs to include in search results.

    regards

    marc

  • Yaco Zaragoza 88 posts 362 karma points
    Aug 02, 2023 @ 14:42
    Yaco Zaragoza
    0

    Thank you Marc

Please Sign in or register to post replies

Write your reply to:

Draft