aboutsummaryrefslogtreecommitdiffstats
path: root/extra/demo_entities/files/math_universe.json
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-12-11 16:54:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-12-11 16:54:59 -0800
commit4c716f9e39046fde3e98a3686a5f086f3d53315a (patch)
tree28e09a2a701198939d6bf87e12594db657a1e39d /extra/demo_entities/files/math_universe.json
parent7838a3c15a82281eec435ef16aad63e97015bdfc (diff)
downloadfatcat-4c716f9e39046fde3e98a3686a5f086f3d53315a.tar.gz
fatcat-4c716f9e39046fde3e98a3686a5f086f3d53315a.zip
simplify ES scroll deletion using param()
This gets rid of some mess error handling code by properly configuring the elasticsearch client to just not clean up scroll iterators when accessing the public (prod or qa) search interfaces. Leaving the scroll state around isn't ideal, so we still delete them if possible (eg, connecting directly to elasticsearch). Thanks to Martin for pointing out this solution in review.
Diffstat (limited to 'extra/demo_entities/files/math_universe.json')
0 files changed, 0 insertions, 0 deletions