python - elasticsearch 只查询 所有的ids ?
PHPz
PHPz 2017-04-17 17:37:58
0
1
286

只想拿到所有的ids,除了 matchall 之外,有没有简单的方法?

PHPz
PHPz

学习是最好的投资!

reply all(1)
大家讲道理

It seems so, because ES is a search engine after all, and many aggregation functions are also analyzed through search, so we still use matchall to find documents and return all ids. If there are too many documents, you can use paging or Scroll to query. In fact, it is quite fast. Fast.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template