Skip to content

Commit

Permalink
Merges step for defining and creating an index in doc examples
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-kolevska committed Jul 5, 2023
1 parent 2bed636 commit 8842fa7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doctests/search_quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@
NumericField("$.price", as_name="price"),
TagField("$.condition", as_name="condition"),
)
# STEP_END
# STEP_START create_index

index = r.ft("idx:bicycle")
index.create_index(
schema,
Expand Down

0 comments on commit 8842fa7

Please sign in to comment.