Back to Typesense

Using JOINs with Typesense and Django

docs-site/content/guide/reference-implementations/joins.md

latest1.9 KB
Original Source

Using JOINs with Typesense and Django

This site showcases how to use Typesense JOINs with Django on a Formula 1 race dataset, using custom React components for react-instantsearch with typesense-instantsearch-adapter.

Source Code

Key Highlights

  • Here's how to validate sorting parameters on the Python server.
  • Here's how to validate query parameters on the Python server.
  • Here's how to map Django model objects to Typesense documents.
  • Here's how to bulk import data from the Django ORM to Typesense.
  • Here's how to reference a collection's id in another collection.
  • Here's how to use a JOIN another collection in order to filter based on reference.
  • Here's how to build a custom Filter component for facets using react-instantsearch's hooks.