Example 1 (for drupal 7)
Step 1. Add file brows
Create a simple js file in your module directory (called yourModuleName.js) and enter the following Javascript.
Step 1. Install Tomcat And Solr Server (atlest 5.4.1)
Step 2. Install Solr Search API On your drupal
#Drush# drush en search_api_solr -y
Step 3. Copy solr core files