appendix-b

Appendix B: Supported search engines and vector databases

 

This appendix covers

  • The list of search engines and vector databases supported by the AI-Powered Search codebase
  • How to swap out the default search engine (Apache Solr) for another supported engine
  • The engine and collection abstractions used throughout the book
  • Adding support for additional engines

While we use the open source Apache Solr search engine as our default search engine implementation throughout the book for consistency, all of the algorithms in the code base are designed to work with a wide variety of search engines and vector databases. To that end, other than cases where engine-specific syntax is required to demonstrate a point, we have implemented search functionality using a generic engine interface throughout the codebase that allows you to easily swap in your favorite alternative search engine or vector database.

B.1 Supported engines

The list of supported engines will continue to grow over time, but as of the time of publication, the following engines are supported:

B.2 Swapping out the engine

B.3 The engine and collection abstractions

B.4 Adding support for additional engines