Skip to content

Commit

Permalink
removing many key_separator references to keep it simple
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerhutcherson committed Nov 28, 2023
1 parent a462c39 commit e48217a
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion docs/user_guide/cli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
" name: providers\n",
" prefix: rvl\n",
" storage_type: hash\n",
" key_separator: ':'\n",
"\n",
"fields:\n",
" text:\n",
Expand Down
2 changes: 0 additions & 2 deletions docs/user_guide/getting_started_01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
" name: user_index\n",
" prefix: user\n",
" storage_type: hash\n",
" key_separator: ':'\n",
"\n",
"fields:\n",
" # define tag fields\n",
Expand Down Expand Up @@ -165,7 +164,6 @@
" \"name\": \"user_index\",\n",
" \"prefix\": \"user\",\n",
" \"storage_type\": \"hash\",\n",
" \"key_separator\": \":\"\n",
" },\n",
" \"fields\": {\n",
" \"tag\": [{\"name\": \"credit_score\"}],\n",
Expand Down
2 changes: 0 additions & 2 deletions docs/user_guide/hash_vs_json_05.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@
" \"name\": \"user-hashes\",\n",
" \"storage_type\": \"hash\", # default setting\n",
" \"prefix\": \"hash\",\n",
" \"key_separator\": \":\",\n",
" },\n",
" \"fields\": {\n",
" \"tag\": [{\"name\": \"credit_score\"}, {\"name\": \"user\"}],\n",
Expand Down Expand Up @@ -336,7 +335,6 @@
" \"name\": \"user-json\",\n",
" \"storage_type\": \"json\", # updated storage_type option\n",
" \"prefix\": \"json\",\n",
" \"key_separator\": \":\",\n",
" },\n",
" \"fields\": {\n",
" \"tag\": [{\"name\": \"$.credit_score\", \"as_name\": \"credit_score\"}, {\"name\": \"$.user\", \"as_name\": \"user\"}],\n",
Expand Down
3 changes: 1 addition & 2 deletions docs/user_guide/hybrid_queries_02.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
" \"name\": \"user_index\",\n",
" \"prefix\": \"v1\",\n",
" \"storage_type\": \"hash\",\n",
" \"key_separator\": \":\"\n",
" },\n",
" \"fields\": {\n",
" \"tag\": [{\"name\": \"credit_score\"}],\n",
Expand Down Expand Up @@ -1178,7 +1177,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.9.12"
},
"orig_nbformat": 4,
"vscode": {
Expand Down
1 change: 0 additions & 1 deletion docs/user_guide/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ index:
name: providers
prefix: rvl
storage_type: hash
key_separator: ':'

fields:
text:
Expand Down
1 change: 0 additions & 1 deletion redisvl/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ def from_dict(cls, schema_dict: Dict[str, Any], **kwargs):
>>> "name": "my-index",
>>> "prefix": "rvl",
>>> "storage_type": "hash",
>>> "key_separator": ":"
>>> },
>>> "fields": {
>>> "tag": [{"name": "doc-id"}]
Expand Down
1 change: 0 additions & 1 deletion tests/sample_hash_schema.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
index:
name: hash-test
prefix: hash
key_separator: ':'
storage_type: hash

fields:
Expand Down
1 change: 0 additions & 1 deletion tests/sample_json_schema.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
index:
name: json-test
prefix: json
key_separator: ':'
storage_type: json

fields:
Expand Down

0 comments on commit e48217a

Please sign in to comment.