Hi everyone,

I'm using SolrJ to ping Solr.  This used to work just fine till when I had
to change the name of my search request handler from the default "select"
to "select_cpsearch", i.e.: I now have this:

    <requestHandler name="/select_cpsearch" class="solr.SearchHandler">

I looked this up and the solution suggestion on the internet is I need to
add a ping request handler (which was missing) so I added it like so (and I
tried a variations of it):

<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
  <lst name="invariants">
    <str name="echoParams">all</str>
    <str name="q">solrpingquery</str>
  </lst>
</requestHandler>

But no matter how I change this ping handler, I keep getting this error:

  http://garoush-dtv:8984/solr/cpsearch: Unknown RequestHandler (qt): null

When I add 'qt' to the ping handler like os:
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
  <lst name="invariants">
    <str name="echoParams">all</str>
    <str name="q">solrpingquery</str>
     <str name="qf"> CP_UNIQUE_FIELD </str>
  </lst>
</requestHandler>

I now get this error: http://garoush-dtv:8984/solr/cpsearch: Unknown
RequestHandler (qt): CP_UNIQUE_FIELD'

Yes, "CP_UNIQUE_FIELD" is in my schema.

What am I missing here?  I cannot go back to the "select" request handler
and I need to be able to ping my collection.

Thanks,

Steven

Reply via email to