Sitecore has a flexible search framework that allows the development of plug-ins to integrate and work the same with any search engine.
The default search engine used by Sitecore is Lucene, but you can also download a plug-in for Solr, which is a better solution for large installations.
Some settings are missing in the shipped Solr configuration file for the FXM component. A corrected file is located at https://kb.sitecore.net/articles/683462 .
Depending on the Sitecore role you are creating, you may need to add different index cores to your Solr instance. For information on choosing your role, which configuration files need to be disabled, and which cores need to be created in Solr to support it, go to https://doc.sitecore.net/sitecore_experience_platform/xdb_configuration/configuring_servers.
The Sitecore Community Docs provide a guide for installing and configuring Solr with Sitecore. For more details go to: https://sitecore-community.github.io/docs/search/solr/
The binary files required to set up Solr are located at: https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82