tags:

views:

141

answers:

1
+1  A: 

It's possible that all you are missing is running

Profile.indexer.update()

at the end of models.py (you only have to do this once).

Now, I might be using an older version of Djapian than you but the following seem to work for me (end of models.py):

profile_indexer = djapian.Indexer(
    model=Profile,
    fields=[..., ...],
    tags=[(..., ...), (..., ...)]
)
# Run once and then comment out.
Profile.indexer.update()
lemonad
lemonad, yup that worked. I thought the index --rebuild should have rebuilt the indexes. Thank you very much!
kartikq