WHoosh (full text search) index problem
Posted
by Rama Vadakattu
on Stack Overflow
See other posts from Stack Overflow
or by Rama Vadakattu
Published on 2009-08-28T09:22:34Z
Indexed on
2010/03/16
5:06 UTC
Read the original article
Hit count: 650
iam having the following problem with whoosh full text search engine.
1.After syncdb i am creating the intial index from the database objects.
2.it is working fine.I can able to search the data and see the results.
3.after that in one of my view i have added another document (via signals) to the index (during a request --response)
4.that' it from then onwards i could not able to search any data , for which i have successfully found results before adding new document (before step 3)
ix = storage.open_index()
writer = ix.writer()
writer.add_document(.............)
I have tried hard to resolve but i could not.
Any ideas on how to resolve this problem?
© Stack Overflow or respective owner