mirror of https://github.com/apache/lucene.git
SOLR-215 -- start webapp w/o crashing!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573947 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2e1941b207
commit
fb9d1c34bb
|
@ -62,13 +62,13 @@ public class SolrDispatchFilter implements Filter
|
|||
// web.xml configuration
|
||||
this.pathPrefix = config.getInitParameter( "path-prefix" );
|
||||
|
||||
// Let this filter take care of /select?xxx format
|
||||
this.handleSelect =
|
||||
SolrConfig.config.getBool( "requestDispatcher/@handleSelect", false );
|
||||
|
||||
log.info("user.dir=" + System.getProperty("user.dir"));
|
||||
core = SolrCore.getSolrCore();
|
||||
parsers = new SolrRequestParsers( core );
|
||||
|
||||
// Let this filter take care of /select?xxx format
|
||||
this.handleSelect =
|
||||
SolrConfig.config.getBool( "requestDispatcher/@handleSelect", false );
|
||||
}
|
||||
catch( Throwable t ) {
|
||||
// catch this so our filter still works
|
||||
|
|
Loading…
Reference in New Issue