Adding Solr “/get” handler

This request handler is the “realtime get” handler, and it is missing from some of the documentation, but available in Solrj.

To use it, add this to your solrconfig.xml:

<requestHandler name="/get" class="solr.RealTimeGetHandler">
  <lst name="defaults">
    <str name="omitHeader">true</str>

And make sure this block is uncommented in the update handler:

    <updateLog class="solr.FSUpdateLog">
      <str name="dir">${}</str>

Once configured, you should be able to access the /get endpoint (you’ll see an empty JSON object returned)


Interested in Solr? I send out weekly, personalized emails with articles and conference talks. Click here to see an example and subscribe.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *