Because it's a get and not a search handler. It takes the id parameter and
returns the "latest stored fields of" document with the specified ID.
-----Original message-----
> From:Furkan KAMACI <furkankam...@gmail.com>
> Sent: Wednesday 24th July 2013 11:07
> To: solr-user@lucene.apache.org
> Subject: Usage Of Real Time Get Handler Of Solr
>
> Hi;
>
> There is a real time get handler at Solr:
>
> <!-- realtime get handler, guaranteed to return the latest stored fields of
> any document, without the need to commit or open a new searcher. The
> current implementation relies on the updateLog feature being enabled.
> -->
> <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>
>
> <updateLog>
> <str name="dir">${solr.ulog.dir:}</str>
> </updateLog
>
>
> Whenever I check that URL:
>
> :8983/solr/get?q=*:*
>
> the response is always:
>
>
> {
> "doc":null}
>
> What is real time get handler for? And why it is a feauture of NoSQL
> databases?
>