Exit and test with "solr start" or "solr stop" or "solr restart" (kill and restart your shell to make it take effect)

If you want solr to start when the server boots you ll need this to add it to the boot sequence.

update-rc.d solr defaults

Now we are done on the server level. Lets get to our drupal instance. Check out admin/config/search/search_api, you ll see that we ll need and index and a server.
First we create a server by selecting our solr
/admin/config/search/search_api/add_server. Fill in the location of our solr which is http://localhost:8983/solr. Feel free to set up authentication but this will not be treated in this post.
Now create an index by selecting our solr server we created. Select in the fields tab all the fields you want in the index. These field will be used to perform the search onto. Make sure you have the longitude latitude field enabled (its provided by location module) because these coordinates will be used to do the radius search on.

Create a content type and on the admin/structure/types/manage/[content-type]/edit page enable the location functionality. Do not use this together with location cck field. It wont work.

Adminster the location settings over here:/admin/config/content/location. Enable "Use a Google Map to set latitude and longitude ". Set up a goolge map api key to allow this to work (link is on the page).

Administer the map settings here:admin/config/services/gmap and here admin/config/services/gmap_location. Yo have a macro generator which comes with the gmap module. So turn that module on to generate your own macro to use for your maps.

Now create a couple of nodes. Set their location not to far from each other so we can test easly.

We are almost there. Now to create a search page we ll need views. So create a view with the search index as base table. Add a filter called "Search: Radius" and expose it. Fill in the exposed settings being the coordinates of the center of the circle and default radius. Do NOT select gmap for a view display it should be HTML List. Change type of Exposed form style to Search API Location. See image: