Unable to create a view of type solr search
Steps:


Install the modules that you have mentioned
Install and configure Apache Solr in your server
Configure Apache Solr server in the apachesolr module settings
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:


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
Unzip in a folder in your machine
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
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.