December 2015
Intermediate to advanced
160 pages
2h 50m
English
Solr also provides us with a way to see documents that are sent to it for indexing but are not indexed or have a commit/soft commit time in the future. This feature also makes Solr behave like a NoSQL data store, wherein we can fetch a document by unique key.
Let's see how we can use this feature in Solr by performing the following steps:
RealTime Get (/get) request handler to solr-config.xml, as follows: <requestHandler name="/get" class="solr.RealTimeGetHandler">
<lst name="defaults">
<str name="omitHeader">true</str>
<str name="wt">json</str>
<str name="indent">true</str>
</lst>
</requestHandler>requestHandler, we'll need to change updateLog in updateHandler. This is because RealTime Get uses the ...Read now
Unlock full access