lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jérôme Etévé" <>
Subject Accessing multiple core via cross context queries.
Date Tue, 16 Dec 2008 18:16:21 GMT
Hi All,

 I'm developping a webapp that needs access to the solr webapp.

 I can get my solr context like that:

 ServletContext solrContext = getServletContext().getContext("/solr");

 but when I do


 I get a 404 error:

  HTTP Status 404 - /solr/core0/select/

type Status report

message /solr/core0/select/

description The requested resource (/solr/core0/select/) is not available.

Beside that, if access /solr/core0/select/ directly then everything is fine.

>From what I saw in the sources , solr relies on a Filter notion to
deal with queries involving multicore, but I cannot see why this could
have an influence on what resources is available from the eyes of who.

Can't a webapp see the same things as the web users does ? j2ee gurus help !

Is there something I'm missing here ? (both webapps are with crossContext=true )



Jerome Eteve.

Chat with me live at

View raw message