Java.io.IOException: org.apache.solr.search.SyntaxError: xport RankQuery is required for xsort: rq={!xport}

Stack Overflow | eboni | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to set up Export Handler in Solr

    Stack Overflow | 5 months ago | eboni
    Java.io.IOException: org.apache.solr.search.SyntaxError: xport RankQuery is required for xsort: rq={!xport}

    Root Cause Analysis

    1. org.apache.solr.search.SyntaxError

      xport RankQuery is required for xsort: rq={!xport}

      at org.apache.solr.response.SortingResponseWriter.write()
    2. Apache Solr Core
      SolrDispatchFilter.doFilter
      1. org.apache.solr.response.SortingResponseWriter.write(SortingResponseWriter.java:100)
      2. org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:813)
      3. org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:437)
      4. org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:211)
      4 frames
    3. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    4. Apache Solr Core
      SolrHadoopAuthenticationFilter$2.doFilter
      1. org.apache.solr.servlet.SolrHadoopAuthenticationFilter$2.doFilter(SolrHadoopAuthenticationFilter.java:394)
      1 frame
    5. Apache Hadoop Auth
      AuthenticationFilter.doFilter
      1. org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:589)
      1 frame
    6. org.apache.hadoop
      DelegationTokenAuthenticationFilter.doFilter
      1. org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.doFilter(DelegationTokenAuthenticationFilter.java:291)
      1 frame
    7. Apache Hadoop Auth
      AuthenticationFilter.doFilter
      1. org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:552)
      1 frame
    8. Apache Solr Core
      SolrHadoopAuthenticationFilter.doFilter
      1. org.apache.solr.servlet.SolrHadoopAuthenticationFilter.doFilter(SolrHadoopAuthenticationFilter.java:399)
      1 frame
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    10. Apache Solr Core
      HostnameFilter.doFilter
      1. org.apache.solr.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)
      1 frame
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    12. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame