Saturday, March 17, 2018

FW: solr equivalent for elasticsearch 'terminate_after' param

-----Original Message-----
From: Martin Buechler [mailto:martin.buechler@springer.com]
Sent: 16 March 2018 20:39
To: solr-user@lucene.apache.org
Subject: solr equivalent for elasticsearch 'terminate_after' param


Hi,

In order to decide, if any search result exists for a given query, you can
do this in ES efficiently using 'size=0&terminate_after=1',

see
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-reque
st-body.html#_fast_check_for_any_matching_docs


Is there an equivalent for the terminate_after param in solr/lucene?

--
Martin

No comments:

Post a Comment