Skip to content

Instantly share code, notes, and snippets.

@Hkazanci93
Created October 19, 2021 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hkazanci93/f82a1049f3bb5c740cbf1919c3cc41c0 to your computer and use it in GitHub Desktop.
Save Hkazanci93/f82a1049f3bb5c740cbf1919c3cc41c0 to your computer and use it in GitHub Desktop.
Building separate indexes by providing a more specific key prefix. 
definition_git = IndexDefinition(prefix=['resource:github'])
definition_tweet = IndexDefinition(prefix=['resource:tweet'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment