Hi Shawn,
here is the Jetty Mailing List's reply concerning my question. Unfortunately, this solution won't work with SOLR Jetty, because its version is < 9. Philippe ---------------------------------------------------------- Just ensure you don't have a /WEB-INF/ directory, and you can use this on Jetty 9.2.9+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd"> <Configure class="org.eclipse.jetty.webapp.WebAppContext"> <Set name="contextPath">/example</Set> <Set name="war">/mnt/iiiparnex01_pdf/PDF/III/</Set> </Configure> ---------------------------------------------------- ----- Mail original ----- De: "Shawn Heisey" <apa...@elyograg.org> À: solr-user@lucene.apache.org Envoyé: Jeudi 12 Mars 2015 13:59:49 Objet: Re: Creating a directory resource in solr-jetty On 3/11/2015 7:38 AM, phi...@free.fr wrote: > does anyone if it is possible to create a directory resource in the > solr-jetty configuration files? > > In Tomcat 8, you can do the following: > > > <PostResources > > className="org.apache.catalina.webresources.DirResourceSet" > base="/mnt/archive_pdf/PDF/IHT" > webAppMount="/arcpdf0" > /> This is a question that you'd need to ask in a Jetty support venue. I don't know the answer, and from the lack of response, I would guess that nobody else who has seen your question knows the answer either. This container config has nothing to do with Solr at all ... most people here are only familiar with those pieces of container config that affect Solr. http://eclipse.org/jetty/mailinglists.php I hate to turn you away without giving you an answer ... if I knew, I would ignore the fact that this is off topic, and give you the answer. Thanks, Shawn