lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jérôme Etévé" <jerome.et...@gmail.com>
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

 solrContext.getRequestDispatcher("/core0/select/").dispatch(request,response)
;

 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 )


Cheers!

Jerome.


-- 
Jerome Eteve.

Chat with me live at http://www.eteve.net

jerome@eteve.net

Mime
View raw message