1. Look further down in the stack trace for the "caused by" that details the specific cause of the exception. 2. Please explain in plain English what you are really trying to do with this non-standard approach - why aren't you just using the normal request handler? 3. You have q.alt in invariants, but also in the actual request, which is a contradiction in terms - what is your actual intent? This isn't the cause of the exception, but does raise questions of what you are trying to do. 4. Why don't you have a q parameter for the actual query?
-- Jack Krupansky On Sat, Feb 14, 2015 at 1:57 AM, Aman Tandon <amantandon...@gmail.com> wrote: > Hi, > > I am using Solr 4.8.1 and when i am creating the new request handler i am > getting the following error: > > *Request Handler config:* > > <requestHandler name="my_clothes_data" class="solr.SearchHandler"> > <lst name="invariants"> > <str name="defType">edismax</str> > <str name="indent">on</str> > <str name="q.alt">*:*</str> > > <float name="tie">0.01</float> > </lst> > > <lst name="appends"> > <str name="fq">type:garments</str> > </lst> > </requestHandler> > > *Error:* > > java.lang.RuntimeException at > > > org.apache.solr.search.ExtendedDismaxQParser$ExtendedDismaxConfiguration.<init>(ExtendedDismaxQParser.java:1455) > > at > > > org.apache.solr.search.ExtendedDismaxQParser.createConfiguration(ExtendedDismaxQParser.java:239) > > at > > > org.apache.solr.search.ExtendedDismaxQParser.<init>(ExtendedDismaxQParser.java:108) > > at > > > org.apache.solr.search.ExtendedDismaxQParserPlugin.createParser(ExtendedDismaxQParserPlugin.java:37) > > at org.apache.solr.search.QParser.getParser(QParser.java:315) at > > > org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:144) > > at > > > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197) > > at > > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) > > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952) at > > > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774) > > at > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418) > > at > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) > > at > > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) > > at > > > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) > > at > > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) > > at > > > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) > > at > > > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) > > at > > > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) > > at > > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) > > at > > > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) > > at > > > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) > > at > > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) > > at > > > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) > > at > > > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) > > at > > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) > > at org.eclipse.jetty.server.Server.handle(Server.java:368) at > > > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) > > at > > > org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) > > at > > > org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) > > at > > > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) > > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) at > > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at > > > org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) > > at > > > org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) > > at > > > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) > > at > > > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) > > at java.lang.Thread.run(Thread.java:745) > > > > Please correct me if i am doing something wrong. > > *Reuested Url: * > http://localhost:8983/solr/core1/select?qt=my_clothes_data&q.alt=*:* > > With Regards > Aman Tandon >