Closed teezzan closed 2 years ago
@simonprickett Here is the piece that is problematic for me. It seems like in redisearch-py, the create_index
method of the client takes a field
and I am stumped by what the field
should be in this case. Thank you
@teezzan Hi there, you should be able to use the sample code here to get started:
https://github.com/RediSearch/redisearch-py#defining-a-search-index
You'll want a schema definition that defines the City field as text as a minimum start point, and in your index definition, watch hashes beginning station:
Thanks for your help @simonprickett. Here we go!
Thanks, @teezzan!
This closes #11. ~It is a work in progress.~ My Twitter handle is @TaiwoHW and my discord handle is Taiwo#7119.