lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Haller <dhal...@talenttech.com>
Subject Solr URL uses non-standard format with pound sign
Date Tue, 02 Apr 2013 16:17:35 GMT
The Solr URL in Solr 4.2 for my localhost installation looks like this:
http://localhost:8883/solr/#/development_shard1_replica1

This URL when constructed dynamically in Ruby will not validate with the
Ruby URI:HTTP class because of the # sign in the path. This is a
non-standard URL as per RFC1738.

Here is the error message:

#<URI::InvalidComponentError: bad component(expected absolute path
component): /solr/#/development_shard1_replica1>


Is there another way to access the Solr URL without using the "#" sign?

Thanks,
Dennis Haller

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message