By default, in Sitefinity CMS search indexes are generated and stored locally using Lucene.net search service. If your project resides on a cloud storage, you can use alternative search index generation and storage on external services - in the cloud on Azure Search or an external Elasticsearch server.
To communicate with Azure Search, Sitefinity uses Microsoft.Azure.Search 5.0.0.
To use Azure Search for Sitefinity's search indexes, perform the following:
NOTE: Keep in mind that you need to enter only the name of the search service and not the whole URL. For example, if the URL is https://test.search.windows.net, you need to enter just test as search service name.
NOTE: Search results are ordered based on @score parameter. This method returns relevance of the result for each search term. By using @score parameter, the most relevant results come first.
@score
For more information, see Azure Search libraries for .NET.
Content
ContentType
Id
IdentityField
Language
LastModified
Link
OriginalItemId
PipeId
Provider
PublicationDate
Summary
Title
Do not add any of these fields as Additional fields for indexing, because you will get a duplicate field exception and will not be able to index.
PREREQUISITES: You must use Elasticsearch server version 7.5.1.
To use an Elasticsearch server for Sitefinity's search indexes:
PUT
PUT /<index_name>/_settings { "index" : { "highlight.max_analyzed_offset" : 10000000 } }
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important