# Compare search services

## Compare advantages and disadvantages

Sitefinity CMS supports the following search services out of the box: *Lucene.NET*, *Azure AI Search* service, and *Elasticsearch* service. By default, Sitefinity CMS uses *Lucene* search, but you can switch between search services or tune their settings. To help you choose which search service suits your needs best, examine the following summary of advantages and disadvantages for each option.

<table>
<tbody>
<tr>
<td>

 

</td>
<td>

**Lucene** (default option)

</td>
<td>

**Azure AI Search**

</td>
<td>

**Elasticsearch**

</td>
</tr>
<tr>
<td>

**Advantages**

</td>
<td style="vertical-align: top;">

* Local storage (index data is stored on the file system, so it is easy to backup)
* Fast performance
* Free of charge (no additional subscription needed)
* No need to configure additional resources
* Unlimited indexes

</td>
<td style="vertical-align: top;">

* Decouples the search index data from the local storage
* The search index can be easily consumed by other applications
* Maintenance by Microsoft (upgrades, new features, and so on)

</td>
<td style="vertical-align: top;">

* Decouples the search index data from the local storage
* The search index can be easily consumed by other applications
* Free of charge (no additional subscription needed)
* Powerful fluent API
* Fast performance

</td>
</tr>
<tr>
<td>

**Disadvantages**

</td>
<td style="vertical-align: top;">

* When the search index is in the cloud in a load balanced (NLB) configuration, modifying the data may lead to concurrency issues<strong>\*</strong>
* Search index cannot be easily consumed by other applications

</td>
<td style="vertical-align: top;">

* *Azure AI Search* subscription is not free of charge
* Requires additional setup in Sitefinity
* Slower than *Lucene* and *Elasticsearch*
* Limited extensibility
* The default analyzer does not support logographic alphabets such as Chinese and Japanese

</td>
<td style="vertical-align: top;">

* Requires additional setup: JAVA application server with *Elasticsearch* configured, as well as configuration in Sitefinity

</td>
</tr>
</tbody>
</table>

(**\***) To avoid potential issues, the index data must be stored on a network location to make it reusable on multiple instances. For more information, see [Change the location of the Lucene search index files](https://www.progress.com/documentation/sitefinity-cms/153/change-the-location-of-the-lucene-search-index-files).

> info **NOTE**: If you use *Lucene* in a Cloud deployment of Sitefinity (CI/CD setup), you must ensure that the `~/App_Data/Sitefinity/Search` folder is included in your deployment package. 

## Compare performance

The following performance test compares the performance of the three search services. The test does not account for machine parameters but highlights the importance of where the server is located. The test scope includes the search for different news items and the following context:

* 50 concurrent users
* Time period is 10 minutes
* *Azure AI Search* service is running in the cloud
* *Elasticsearch* is running on the same machine
* *Lucene* uses local storage for index data

The following diagram illustrates the performance test results:

[![SearchServicesComparison](https://www.progress.com/documentation/sitefinity-cms/assets/be8768c919ca0d80869e40873ea5b855/searchservicescomparison.jpg "SearchServicesComparison")](https://www.progress.com/documentation/sitefinity-cms/assets/be8768c919ca0d80869e40873ea5b855/searchservicescomparison.jpg)

In general, all supported search services perform fast and return results within less than 0.5 second even on a high load.

If you deploy Sitefinity CMS on *Azure* and use *Azure AI Search* in a closer location, the search service will perform faster.
