I have installed the apachesolr , views and apachesolr_views modules but I am unable to create a view of type solr search. Is there something i am missing? Because the apachesolr_views provides views integration of apachesolr.

Any Help?

1 Answer 1



  1. Install the modules that you have mentioned
  2. Install and configure Apache Solr in your server
  3. Configure Apache Solr server in the apachesolr module settings
  4. Add a view. Select Apache Solr localhost server (or the name that you have given to your Apache Solr server configuration in apachesolr settings) in the Show dropdown menu when creating the view.

Steps for installing and configuring Solr:

  1. Download the .zip file from http://lucene.apache.org/solr/ (you might want to try with version 3, although it has worked for me with 4
  2. Unzip in a folder in your machine
  3. Copy all the contents from sites/all/modules/apachesolr/solr-config/solr-3.x/ to apache-solr/example/solr/conf/ in the folder you created in step 2
  4. Start the server with running java -jar start.jar

Check in the admin section of your Drupal site if the server is found and working.

  • I did not configure the server for apache solr. therefore I am unable to create the view of type apache solr?
    – Ahmad
    May 21, 2013 at 7:08
  • That's probably the issue, the apachesolr_views module needs a configured solr instance in order to create a view. Do you know how to install and configure solr? May 21, 2013 at 7:19
  • No, how will i configure it on local?
    – Ahmad
    May 21, 2013 at 7:41
  • I have added installation steps in the answer above. May 21, 2013 at 10:21
  • I have isntalled the apachesolr on my local and created a search environment in the apache solr settings but still I am unable to to add a view of type solr search.
    – Ahmad
    May 22, 2013 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.