Hi,
I am trying to use rsolr.ext to connect to a url that does not have
select at the end of the url.
so that the code
solr = RSolr::Ext.connect :url => '
http://localhost:8090/solr/document/
snippets/'
solr_params = {
:page=>page,
:per_page=>25,
:elementquery=>elementquery,
:queries=>params[:frt]
}
@search_result = solr.find solr_params
@search_numFound = @search_result.response["numFound"]
@search_start = @search_result.response["start"]
ends up returning the error
RSolr::Error::Http - 404 Not Found
...errror message from apache tomcat....
URI:
http://localhost:8090/solr/document/snippets/select?..rest of
querystring.
There is otherwise no problem with the code in that I can use it with
services that have a select at the end of the path....
In Solr I suppose I could use solr.get to maneuver around this
problem? But how do I do it in solr.ext, since I'm something of a ruby
newbie I don't relish trying to hack solr.ext itself to do it.