Currently, the following search engines exist in their own Ibexa DXP Bundles:
- Legacy search engine, a database-powered search engine for basic needs.
- Solr, an integration providing better overall performance, much better scalability and support for more advanced search capabilities.
- Elasticsearch, available for Ibexa Experience customers, a document-oriented engine providing even better performance and scalability.
Legacy search engine¶
Legacy search engine is the default search engine, it is SQL-based and uses Doctrine's database connection. Its connections are defined in the same way as for storage engine, and no further specific configuration is needed.
Using the Legacy search engine disables most shop features, such as product search.
Configuring Repository with Legacy search engine¶
Search can be configured independently from storage, and the following configuration example shows both the default values, and how you configure legacy as the search engine:
1 2 3 4 5 6 7 8 9
Search engine comparison¶
|Feature||Elasticsearch||Apache Solr||Legacy Search Engine (SQL)|
|Query (filter with scoring)||Yes||Yes||Only filters, no scoring|
|Fulltext search||Yes, limited||Yes||Yes, limited**|
* Usage of Criteria and Sort Clauses for Fields does not perform well on medium to larger amount of data with Legacy Search Engine (SQL), use Solr for this.
** For more information about fulltext search syntax support, see Fulltext Criterion.
*** Elasticsearch offers query-time boosting instead.