Elasticsearch: Difference between revisions
Jump to navigation
Jump to search
(Created page with " == Count the number of documents == Elastic search: [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-count.html#search-count-api-example Count API | Elasticsearch Guide [8.15] Elastic] <pre> GET /MY_INXEX/_count </pre> MySQL [https://dev.mysql.com/doc/refman/8.4/en/counting-rows.html MySQL :: MySQL 8.4 Reference Manual :: 5.3.4.8 Counting Rows] <pre> SELECT COUNT(*) FROM MY_TABLE </pre> Category: MySQL Category: Search") |
mNo edit summary |
||
| Line 2: | Line 2: | ||
== Count the number of documents == | == Count the number of documents == | ||
Elasticsearch: [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-count.html#search-count-api-example Count API | Elasticsearch Guide [8.15] Elastic] | |||
<pre> | <pre> | ||
Revision as of 14:24, 15 October 2024
Count the number of documents
Elasticsearch: Count API | Elasticsearch Guide [8.15 Elastic]
GET /MY_INXEX/_count
MySQL MySQL :: MySQL 8.4 Reference Manual :: 5.3.4.8 Counting Rows
SELECT COUNT(*) FROM MY_TABLE