File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
content/commands/ft.profile Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ Return value has an array with two elements:
101101
102102## Examples
103103
104- <details open >
105- <summary ><b >Collect performance information about an index</b ></summary >
104+ <details >
105+ <summary ><b >Collect performance information about a simple JSON index. </b ></summary >
106106
107- Imagine you have a dataset consisting of 1M JSON documents, each with the following structure.
107+ Imagine you have a dataset consisting of 1,000,000 (1M) JSON documents, each with the following structure.
108108
109109``` json
110110{
@@ -116,13 +116,13 @@ Imagine you have a dataset consisting of 1M JSON documents, each with the follow
116116}
117117```
118118
119- You've created an index similar to the following.
119+ Here's the corresponding index:
120120
121121``` bash
122122FT.CREATE idx ON JSON PREFIX 1 key: SCHEMA $.num AS num NUMERIC SORTABLE $.color AS color TAG SORTABLE UNF $.quote AS quote TEXT NOSTEM SORTABLE
123123```
124124
125- Next, you run the ` FT.PROFILE ` command with a search you intend to run on the index .
125+ Here's an example of running the ` FT.PROFILE ` command for a sample query .
126126
127127{{< highlight bash >}}
128128127.0.0.1:6379> FT.PROFILE idx SEARCH QUERY '((@num :[ 100 100] -@color :{blue} @quote : question ) | @num :[ 200 600] )' RETURN 1 $.fid
@@ -365,6 +365,12 @@ Next, you run the `FT.PROFILE` command with a search you intend to run on the in
365365{{< / highlight >}}
366366</details >
367367
368+ <details >
369+ <summary ><b >Collect performance information about a JSON index that includes vector data.</b ></summary >
370+
371+ Blah blah blah
372+ </details >
373+
368374## See also
369375
370376[ ` FT.SEARCH ` ] ({{< baseurl >}}/commands/ft.search/) | [ ` FT.AGGREGATE ` ] ({{< baseurl >}}/commands/ft.aggregate/)
You can’t perform that action at this time.
0 commit comments