Skip to content

Commit ceecd2f

Browse files
Taylor DownsTaylor Downs
authored andcommitted
add search limitation
1 parent 48a22aa commit ceecd2f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/monitor-history/activity-history.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,19 @@ search is applied. This method of searching allows you to find work orders
5757
quickly and allows for partial string matches across all text in the run logs
5858
and across the "keys" and "values" of your dataclips.
5959

60+
:::caution Very large/complex input dataclips may not be indexed
61+
62+
It's not currently possible to create `ts_vector` indexes larger than 1MB, and
63+
as a result very large or complex input dataclips may not appear in search
64+
results. This typically won't happen until you're nearing 10MB of JSON, but the
65+
number of distinct lexemes & positions in your JSON will impact the final index
66+
size.
67+
68+
More at the Postgres
69+
["text search limitations" docs page](https://www.postgresql.org/docs/current/textsearch-limitations.html).
70+
71+
:::
72+
6073
Partial string matching works best at the start of words, so if you're looking
6174
for items matching `"newPatient"` it's better to search for `"newPat"` than for
6275
`"tient"`. (When in doubt, whole words or IDs produce the best results.)

0 commit comments

Comments
 (0)