Typesense
Typesense is a search engine that provides fast and relevant search results. It is used in the Commeta backend to provide search functionality.
How it works in Commeta
- Celery task for update index for single object
- periodic task for update index for all objects (to keep it actual)
Indexed collections
-
Companies
{ "name": "commeta_companies", "enable_nested_fields": True, "fields": [ {"name": "id", "type": "string", "facet": False}, {"name": "brand_logo", "type": "string", "facet": False, "optional": True}, {"name": "cover_image", "type": "string", "facet": False, "optional": True}, {"name": "name_uz", "type": "string", "facet": False, "optional": True}, {"name": "name_ru", "type": "string", "facet": False, "optional": True}, {"name": "name_uzc", "type": "string", "facet": False, "optional": True}, {"name": "name_en", "type": "string", "facet": False, "optional": True}, {"name": "name_kaa", "type": "string", "facet": False, "optional": True}, {"name": "phone_number", "type": "string", "facet": False, "optional": True}, {"name": "email", "type": "string", "facet": False, "optional": True}, {"name": "address", "type": "string", "facet": False, "optional": True}, {"name": "slug", "type": "string", "facet": False, "optional": True}, {"name": "legal_name", "type": "string", "facet": False, "optional": True}, {"name": "search_variants", "type": "string[]", "facet": False, "optional": True}, {"name": "type", "type": "int32", "facet": False, "optional": True}, {"name": "categories", "type": "object[]", "facet": False, "optional": True}, {"name": "futures", "type": "string[]", "facet": False, "optional": True}, {"name": "review_count", "type": "int32", "facet": False}, {"name": "view_count", "type": "int32", "facet": False}, {"name": "old_review_rating", "type": "float", "facet": False, "optional": True}, {"name": "old_review_rating_filter", "type": "string", "facet": False, "optional": True}, {"name": "geo_location", "type": "geopoint", "facet": False, "optional": True}, {"name": "region_id", "type": "string", "facet": False, "optional": True}, {"name": "district_id", "type": "string", "facet": False, "optional": True}, {"name": "verified", "type": "bool", "facet": False, "optional": True}, {"name": "is_active", "type": "bool", "facet": False, "optional": True}, {"name": "is_deleted", "type": "bool", "facet": False, "optional": True}, {"name": "is_private", "type": "bool", "facet": False, "optional": True}, {"name": "is_metsenat", "type": "bool", "facet": False, "optional": True}, {"name": "work_type", "type": "int32", "facet": False, "optional": True}, {"name": "work_dates", "type": "object[]", "facet": False, "optional": True}, {"name": "is_registered", "type": "bool", "facet": False, "optional": True}, ] } -
Categories
{ "name": "commeta_categories", "enable_nested_fields": True, "fields": [ {"name": "id", "type": "string", "facet": False}, {"name": "title_uz", "type": "string", "facet": False}, {"name": "title_ru", "type": "string", "facet": False}, {"name": "title_en", "type": "string", "facet": False}, {"name": "title_uzc", "type": "string", "facet": False}, {"name": "title_kaa", "type": "string", "facet": False}, {"name": "is_deleted", "type": "bool", "facet": False}, {"name": "parent", "type": "object", "facet": False, "optional": True}, {"name": "slug", "type": "string", "facet": False}, {"name": "search_variants", "type": "string[]", "facet": False}, ] }