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?
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:
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?
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
Thank you Marc
is working on a reply...