Site search API
Sitefinity CMS Search uses the Publishing system in order to collect data that should be indexed. It registers the SearchIndexOutboundPipe that listens for changes in Sitefinity CMS and pushes them to the search index, using the active Search service.
The following diagram shows how a page content is pushed to the Search service index when the user publishes it. Other content in Sitefinity CMS is indexed in a similar manner. The difference between indexing different content types is that each of them comes from a different InboundPipe.
/documentation/sitefinity-cms/sf-images/default-source/developers-guide/search_pushdatatoindex_sequencediagram.png?sfvrsn=0
This section contains
CRUD operations for a search index
The sample in this article demonstrates how you can use the API to create, update, and delete a search index and how you can perform a search operation.
Create a custom search service
You can replace the default search service with your custom implementation.
Index external content
Index data items that are managed on external systems.
Create a search index that applies to group of pages
You can create a search index that applies only to a selection of pages under a group page by replacing the default PageInboundPipe with a custom one.
Search with accented characters
Replace the default analyzer used by Lucene search with one that replaces accented characters with the corresponding unaccented ones.
Customize the Lucene search scoring
Sitefinity CMS exposes a mechanism for influencing the Lucene search results via customizing the Lucene search scoring.
Perform search in an index
The sample in this article demonstrates how to perform search in an index.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.