Leonardo
latest
  • Django-Leonardo
  • Installation
  • Development Environment
  • Leonardo in Production
  • Bootstrap site
  • Salt Installation
  • Leonardo Configuration
  • Live configuration
  • Storage / Media
  • Migrations
  • Languages
  • Search
  • Sync Themes
  • Favicons
  • New Site
  • New Theme
  • Leonardo Module
  • Leonardo Descriptor Reference
  • Thumbnails
  • Live configuration
  • Messagess
  • Modals Dialogs
  • Contributors
  • Development Environment
Leonardo
  • Docs »
  • Search
  • Edit on GitHub

Search¶

Leonardo Search is only Haystack integration, which provide robust solution for this domain.

In default state Leonaro use this configuration

HAYSTACK_CONNECTIONS = {
    'default': {
        'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
        'PATH': os.path.join(os.path.dirname(__file__), 'whoosh_index'),
    },
}

For other backends visit

  • Sorl - http://django-haystack.readthedocs.org/en/latest/tutorial.html#solr
  • ElasticSearch - http://django-haystack.readthedocs.org/en/latest/tutorial.html#elasticsearch
  • Xapian - http://django-haystack.readthedocs.org/en/latest/tutorial.html#xapian

Warning

Don’t forget rebuild indexes !

python manage.py rebuild_index --noinput

For other commands see doc or help.

Enjoy !

Next Previous

© Copyright 2015, Michael Kuty & Ales Komarek Revision 26f86656.

Built with Sphinx using a theme provided by Read the Docs.