Search code examples
pythondjangodjango-haystackwhoosh

Using haystack with Whoosh


Requires setting HAYSTACK_WHOOSH_PATH to the place on your filesystem where the Whoosh index should be located. Can anyone explain where exactly this path is pointing? I mean what should i give in this path?


Solution

  • Any directory where you have write access will do, as long as its filesystem has enough space to store the Whoosh index, like /home/mysite/whoosh_index (straight from the docs). Just make sure the contents aren't made public by the webserver.