You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an index. In this example, only JSON documents with the key prefix `user:` are indexed. For more information, see [Query syntax]({{< relref "/develop/ai/search-and-query/query/" >}}).
67
72
68
73
{{< clients-example java_home_json make_index >}}
@@ -112,6 +117,13 @@ option of `FTCreateParams` when you create the index. The code below shows these
112
117
changes with a new index called `hash-idx:users`, which is otherwise the same as
113
118
the `idx:users` index used for JSON documents in the previous examples.
114
119
120
+
First, delete any existing index called `hash-idx:users` and any keys that start with `huser:`.
0 commit comments