diff --git a/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java b/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java index 2a3f53d6443..75fb924ac93 100644 --- a/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java +++ b/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java @@ -358,8 +358,9 @@ public class SolrDispatchFilter implements Filter //--------------------------------------------------------------------- /** - * set the prefix for all paths. This is useful if you want to apply the - * filter to something other then *. + * Set the prefix for all paths. This is useful if you want to apply the + * filter to something other then /*, perhaps because you are merging this + * filter into a larger web application. * * For example, if web.xml specifies: * @@ -369,7 +370,7 @@ public class SolrDispatchFilter implements Filter * * * Make sure to set the PathPrefix to "/xxx" either with this function - * or in web.xml + * or in web.xml. * * * path-prefix diff --git a/src/webapp/web/WEB-INF/web.xml b/src/webapp/web/WEB-INF/web.xml index 13669b3eae9..3b1859e150a 100644 --- a/src/webapp/web/WEB-INF/web.xml +++ b/src/webapp/web/WEB-INF/web.xml @@ -34,14 +34,30 @@ SolrRequestFilter org.apache.solr.servlet.SolrDispatchFilter - + + SolrRequestFilter /*