Skip to main content

Django: Haystack resets, won't find results, when syncing with Heroku -


i uploaded first django project heroku and, far, it's working 1 exception.

every time push updated version of project heroku...

git push heroku master 

...haystack no longer recognizes of items in database, resulting in empty search results. isn't migration; regular push of updated code. when new items added, these appear in search. when sync takes place, results turn empty. i'm using haystack woosh.

i'm not sure how rectify or may causing this. if has experience or knowledge may help, welcomed.

django: haystack resets, won't find results, when syncing heroku - stack overflow

learn, share, build

each month, on 50 million developers come stack overflow learn, share knowledge, , build careers.

join world’s largest developer community.

sign up

i uploaded first django project heroku and, far, it's working 1 exception.

every time push updated version of project heroku...

git push heroku master 

...haystack no longer recognizes of items in database, resulting in empty search results. isn't migration; regular push of updated code. when new items added, these appear in search. when sync takes place, results turn empty. i'm using haystack woosh.

i'm not sure how rectify or may causing this. if has experience or knowledge may help, welcomed.

share|improve question
    
what mean: "no longer recognizes of items in database"? mean old search results still there link when click on them incorrect? or search index empty no search results @ times? – simeon visser jul 7 '12 @ 9:04
    
the latter indeed problem. after syncing, no search results appear. – why not jul 8 '12 @ 1:58
    
does push delete whoosh search index file? because sounds happening. – simeon visser jul 8 '12 @ 9:22
    
perhaps. there way check that? – why not jul 9 '12 @ 0:18
    
your settings file has location of search index. check if search index file gets deleted there when push. – simeon visser jul 9 '12 @ 8:31

your answer

 
discard

posting answer, agree privacy policy , terms of service.

browse other questions tagged or ask own question.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -