7 lines
211 B
Python
7 lines
211 B
Python
from django.conf import settings
|
|
|
|
|
|
if settings.SEARCH_BACKEND == 'MEILISEARCH':
|
|
from .search.meilisearch import Indexer
|
|
elif settings.SEARCH_BACKEND == 'TYPESENSE':
|
|
from .search.typesense import Indexer
|