Skip to content
Last update: October 19, 2022

Configuration

This section explains the basic configuration for the indexed search logic.

This configures full text search for the VirtoCommerce.Search module.

Node Default or sample value Description
Provider E.g., "Lucene" This required setting specifies the current search provider. The supported values are Lucene, AzureSearch, and ElasticSearch.
Scope E.g., "default" This setting determines the scope to use and is required.
Lucene Lucene provider configuration for the VirtoCommerce.LuceneSearch module.
Used when the Provider setting has the Lucene vaue.
AzureSearch AzureSearch provider configuration for the VirtoCommerce.AzureSearch module.
Used when the Provider setting has the AzureSearch value.
ElasticSearch Elasticsearch provider configuration for the VirtoCommerce.ElasticSearch module.
Used when the Provider setting has the ElasticSearch value.
OrderFullTextSearchEnabled true This boolean setting enables full-text search for orders.
If true (by default), full-text search for orders is enabled,
and it allows searching for orders based on their content.
ContentFullTextSearchEnabled true This boolean setting enables full-text search for content.
If true (by default), full-text search for content is enabled,
and it allows searching for content items based on their textual content.

Examples

"Lucene": {
"Path": "App_Data/Lucene"
} 
"AzureSearch": {
"SearchServiceName": "my-ServiceName",
"Key": "my-AccessKey"
} 
"ElasticSearch": {
"Server": "localhost:9200",
"User": "elastic",
"Key": "",
"EnableHttpCompression": ""
<!-- For ES 8.0 and higher must be set to True -->
"EnableCompatibilityMode": true 
}