Get started

INSTALL


        
          
            

pip install --upgrade 'algoliasearch-django>=2.0,<3.0'

INDEX


        
          
            

import algoliasearch_django as algoliasearch

from .models import YourModel

algoliasearch.register(YourModel)
class YourModel(AlgoliaIndex):
    fields = ('name', 'date')
    index_name = 'my_index'

SEARCH


        
          
            

from algoliasearch_django import raw_search

params = { "hitsPerPage": 5 }
response = raw_search(Contact, "jim", params)

Enable anyone to build great Search & Discovery