0

I am trying to index my MySQL Data into Whoosh using Haystack But as my root partition is almost Full is their any way to specify which DIR to be used by Haystack and Whoosh during indexing data. As it uses /tmp/ DIR during this process how can i change that DIR to something else.. I know best way is to increase the root partition But i am looking for an alternative ....

j0k
  • 22,600
  • 28
  • 79
  • 90
Vaibhav Jain
  • 5,287
  • 10
  • 54
  • 114
  • If you check the [documentation](https://django-haystack.readthedocs.org/en/latest/tutorial.html#whoosh) you can see there is `PATH` settings. Is that what you are looking for? – Aamir Rind Jul 25 '13 at 11:57
  • No, that path is for `whoosh_index DIR under Django project DIR` .. Actually when you run `rebuild_index` command it uses `/tmp/ Dir` and i want to change that DIR to something else .. – Vaibhav Jain Jul 25 '13 at 12:04

1 Answers1

0

I found this setting.. maybe it helps you:

WHOOSH_STORAGE_DIR = '/data/whoosh'

Apart from that, I found a script snippet where you might change the '/tmp/' directory.

I am not familiar with those projects.. I just thought I might share what I found. ;)

Eraldo
  • 535
  • 8
  • 17