On Sat, Jun 6, 2009 at 11:48 AM, Grant Ingersoll <gsing...@apache.org> wrote:
> Seems like I might be able to get at it by having the Servlet add it onto
> something that is available like the core or the config.

Yep, as long as it's optional (Solr could always run in embedded more,
or in a different type of container).
Look at _info.jsp in the admin pages.

  int port = request.getServerPort();

req.getContextPath() is currently added to the Context though... not
sure off hand if that has the port or not, but it does seem like one
would often want the whole URL  (like http://localhost:8983/solr)

-Yonik
http://www.lucidimagination.com

Reply via email to