Skip to content

Commit

Permalink
Update usage example doc for PPL cross-cluster search (#1610)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Kao <seankao@amazon.com>
(cherry picked from commit d0b6b3a)
  • Loading branch information
seankao-az committed May 12, 2023
1 parent c50f320 commit 82a2f4c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/user/ppl/admin/cross_cluster_search.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,18 @@ Using Cross-Cluster Search in PPL
=================================
Perform cross-cluster search by using "<cluster-name>:<index-name>" as the index identifier.

Example search command ::

>> search source = my_remote_cluster:my_index
Example PPL query::

os> source=my_remote_cluster:accounts;
fetched rows / total rows = 4/4
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+
| account_number | firstname | address | balance | gender | city | employer | state | age | email | lastname |
|------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------|
| 1 | Amber | 880 Holmes Lane | 39225 | M | Brogan | Pyrami | IL | 32 | amberduke@pyrami.com | Duke |
| 6 | Hattie | 671 Bristol Street | 5686 | M | Dante | Netagy | TN | 36 | hattiebond@netagy.com | Bond |
| 13 | Nanette | 789 Madison Street | 32838 | F | Nogal | Quility | VA | 28 | null | Bates |
| 18 | Dale | 467 Hutchinson Court | 4180 | M | Orick | null | MD | 33 | daleadams@boink.com | Adams |
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+


Limitation
Expand Down

0 comments on commit 82a2f4c

Please sign in to comment.