Org. apache. solr. client. solrj. impl. HttpSolrServer $ RemoteSolrException: Internal Server Error, internalservererror
Solr error:
{"ResponseHeader": {"status": 500, "QTime": 11}, "error": {"trace": "java. lang. runtimeException \ r \ n \ tat org. apache. solr. search. extendedDismaxQParser $ ExtendedDismaxConfiguration. <init> (ExtendedDismaxQParser. java: 1455) \ r \ n \ tat org. apache. solr. search. extendedDismaxQParser. createConfiguration (ExtendedDismaxQParser. java: 239) \ r \ n \ tat org. apache. solr. search. extendedDismaxQParser. <init> (ExtendedDismaxQParser. java: 108) \ r \ n \ tat org. apache. solr. search. extendedDismaxQParserPlugin. createParser (ExtendedDismaxQParserPlugin. java: 37) \ r \ n \ tat org. apache. solr. search. QParser. getParser (QParser. java: 315) \ r \ n \ tat org. apache. solr. handler. component. queryComponent. prepare (QueryComponent. java: 144) \ r \ n \ tat org. apache. solr. handler. component. searchHandler. handleRequestBody (SearchHandler. java: 197) \ r \ n \ tat org. apache. solr. handler. requestHandlerBase. handleRequest (RequestHandlerBase. java: 135) \ r \ n \ tat org.apache.solr.core.SolrCore.exe cute (SolrCore. java: 1952) \ r \ n \ tat org.apache.solr.servlet.SolrDispatchFilter.exe cute (SolrDispatchFilter. java: 774) \ r \ n \ tat org. apache. solr. servlet. solrDispatchFilter. doFilter (SolrDispatchFilter. java: 418) \ r \ n \ tat org. apache. solr. servlet. solrDispatchFilter. doFilter (SolrDispatchFilter. java: 207) \ r \ n \ tat org. apache. catalina. core. applicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 241) \ r \ n \ tat org. apache. catalina. core. applicationFilterChain. doFilter (ApplicationFilterChain. java: 208) \ r \ n \ tat org. apache. catalina. core. standardWrapperValve. invoke (StandardWrapperValve. java: 220) \ r \ n \ tat org. apache. catalina. core. standardContextValve. invoke (StandardContextValve. java: 122) \ r \ n \ tat org. apache. catalina. core. standardHostValve. invoke (StandardHostValve. java: 170) \ r \ n \ tat org. apache. catalina. valves. errorReportValve. invoke (ErrorReportValve. java: 103) \ r \ n \ tat org. apache. catalina. valves. accessLogValve. invoke (AccessLogValve. java: 950) \ r \ n \ tat org. apache. catalina. core. standardEngineValve. invoke (StandardEngineValve. java: 116) \ r \ n \ tat org. apache. catalina. connector. coyoteAdapter. service (CoyoteAdapter. java: 421) \ r \ n \ tat org. apache. coyote. http11.20.acthttp11processor. process (AbstractHttp11Processor. java: 1074) \ r \ n \ tat org. apache. coyote. abstractProtocol $ AbstractConnectionHandler. process (AbstractProtocol. java: 611) \ r \ n \ tat org.apache.tomcat.util.net. JIoEndpoint $ SocketProcessor. run (JIoEndpoint. java: 316) \ r \ n \ tat java. util. concurrent. threadPoolExecutor. runWorker (ThreadPoolExecutor. java: 1145) \ r \ n \ tat java. util. concurrent. threadPoolExecutor $ Worker. run (ThreadPoolExecutor. java: 615) \ r \ n \ tat org. apache. tomcat. util. threads. taskThread $ WrappingRunnable. run (TaskThread. java: 61) \ r \ n \ tat java. lang. thread. run (Thread. java: 724) \ r \ n "," code ": 500 }}
Error in code:
Org. apache. solr. client. solrj. impl. HttpSolrServer $ RemoteSolrException: Internal Server Error
Request: http://messagesolr.hessian.com: 8080/message-solr/user/select
At org. apache. solr. client. solrj. impl. HttpSolrServer. request (HTTP solrserver. java: 491)
At org. apache. solr. client. solrj. impl. HttpSolrServer. request (HTTP solrserver. java: 197)
At org. apache. solr. client. solrj. request. QueryRequest. process (QueryRequest. java: 90)
At org. apache. solr. client. solrj. SolrServer. query (SolrServer. java: 310)
At com. huinong. search. invoker. DefaultSearchInvoker. search (defasearchsearchinvoker. java: 107)
At com. huinong. commerce. B2B. message. service. impl. UserQueryServiceImpl. query (UserQueryServiceImpl. java: 23)
At com. huinong. commerce. B2B. message. service. impl. UserQueryServiceImpl $ FastClassByCGLIB $ c65591dc. invoke (<generated>)
At net. sf. cglib. proxy. MethodProxy. invoke (MethodProxy. java: 204)
At org. springframework. aop. framework. Cglib2AopProxy $ CglibMethodInvocation. invokeJoinpoint (Cglib2AopProxy. java: 689)
At org. springframework. aop. framework. ReflectiveMethodInvocation. proceed (ReflectiveMethodInvocation. java: 150)
At com. huinong. framework. dba. transaction. advisor. TransactionInterceptor. invoke (TransactionInterceptor. java: 48)
At org. springframework. aop. framework. ReflectiveMethodInvocation. proceed (ReflectiveMethodInvocation. java: 172)
At org. springframework. aop. framework. Cglib2AopProxy $ DynamicAdvisedInterceptor. intercept (Cglib2AopProxy. java: 622)
At com. huinong. commerce. B2B. message. service. impl. UserQueryServiceImpl $ EnhancerByCGLIB $5592df4. query (<generated>)
At sun. reflect. NativeMethodAccessorImpl. invoke0 (Native Method)
At sun. reflect. NativeMethodAccessorImpl. invoke (NativeMethodAccessorImpl. java: 57)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 43)
At java. lang. reflect. Method. invoke (Method. java: 606)
At org. springframework. aop. support. AopUtils. invokeJoinpointUsingReflection (AopUtils. java: 319)
At org. springframework. aop. framework. ReflectiveMethodInvocation. invokeJoinpoint (ReflectiveMethodInvocation. java: 183)
At org. springframework. aop. framework. ReflectiveMethodInvocation. proceed (ReflectiveMethodInvocation. java: 150)
At org. springframework. remoting. support. RemoteInvocationTraceInterceptor. invoke (RemoteInvocationTraceInterceptor. java: 77)
At org. springframework. aop. framework. ReflectiveMethodInvocation. proceed (ReflectiveMethodInvocation. java: 172)
At org. springframework. aop. framework. JdkDynamicAopProxy. invoke (JdkDynamicAopProxy. java: 202)
At com. sun. proxy. $ Proxy10.query (Unknown Source)
At sun. reflect. NativeMethodAccessorImpl. invoke0 (Native Method)
At sun. reflect. NativeMethodAccessorImpl. invoke (NativeMethodAccessorImpl. java: 57)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 43)
At java. lang. reflect. Method. invoke (Method. java: 606)
At com. caucho. hessian. server. HessianSkeleton. invoke (HessianSkeleton. java: 306)
At com. caucho. hessian. server. HessianSkeleton. invoke (HessianSkeleton. java: 221)
At org. springframework. remoting. caucho. HessianExporter. doInvoke (HessianExporter. java: 198)
At org. springframework. remoting. caucho. HessianExporter. invoke (HessianExporter. java: 118)
At org. springframework. remoting. caucho. HessianServiceExporter. handleRequest (HessianServiceExporter. java: 66)
At org. springframework. web. servlet. mvc. HttpRequestHandlerAdapter. handle (HttpRequestHandlerAdapter. java: 49)
At org. springframework. web. servlet. DispatcherServlet. doDispatch (DispatcherServlet. java: 923)
At org. springframework. web. servlet. DispatcherServlet. doService (DispatcherServlet. java: 852)
At org. springframework. web. servlet. FrameworkServlet. processRequest (FrameworkServlet. java: 882)
At org. springframework. web. servlet. FrameworkServlet. doPost (FrameworkServlet. java: 789)
At javax. servlet. http. HttpServlet. service (HttpServlet. java: 646)
At javax. servlet. http. HttpServlet. service (HttpServlet. java: 727)
At org. apache. catalina. core. ApplicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 303)
At org. apache. catalina. core. ApplicationFilterChain. doFilter (ApplicationFilterChain. java: 208)
At org. springframework. web. filter. CharacterEncodingFilter. doFilterInternal (CharacterEncodingFilter. java: 88)
At org. springframework. web. filter. OncePerRequestFilter. doFilter (OncePerRequestFilter. java: 76)
At org. apache. catalina. core. ApplicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 241)
At org. apache. catalina. core. ApplicationFilterChain. doFilter (ApplicationFilterChain. java: 208)
At org. apache. tomcat. websocket. server. WsFilter. doFilter (WsFilter. java: 52)
At org. apache. catalina. core. ApplicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 241)
At org. apache. catalina. core. ApplicationFilterChain. doFilter (ApplicationFilterChain. java: 208)
At org. apache. catalina. core. StandardWrapperValve. invoke (StandardWrapperValve. java: 220)
At org. apache. catalina. core. StandardContextValve. invoke (StandardContextValve. java: 122)
At org. apache. catalina. authenticator. AuthenticatorBase. invoke (AuthenticatorBase. java: 504)
At org. apache. catalina. core. StandardHostValve. invoke (StandardHostValve. java: 170)
At org. apache. catalina. valves. ErrorReportValve. invoke (ErrorReportValve. java: 103)
At org. apache. catalina. valves. AccessLogValve. invoke (AccessLogValve. java: 950)
At org. apache. catalina. core. StandardEngineValve. invoke (StandardEngineValve. java: 116)
At org. apache. catalina. connector. CoyoteAdapter. service (CoyoteAdapter. java: 421)
At org. apache. coyote. http11.20.acthttp11processor. process (AbstractHttp11Processor. java: 1074)
At org. apache. coyote. AbstractProtocol $ AbstractConnectionHandler. process (AbstractProtocol. java: 611)
At org.apache.tomcat.util.net. JIoEndpoint $ SocketProcessor. run (JIoEndpoint. java: 314)
At java. util. concurrent. ThreadPoolExecutor. runWorker (ThreadPoolExecutor. java: 1145)
At java. util. concurrent. ThreadPoolExecutor $ Worker. run (ThreadPoolExecutor. java: 615)
At org. apache. tomcat. util. threads. TaskThread $ WrappingRunnable. run (TaskThread. java: 61)
At java. lang. Thread. run (Thread. java: 724)
---------------------------- Split line --------------------
The preceding two errors are reported by solr and solrj. After testing, the defType = edismax parameter can be removed for normal query. The final problem is located because I removed the defasearchsearchfield configuration in scame. xml,
Add this configuration to solve the problem.