Juan Catalano
unread,Nov 28, 2010, 4:50:03 PM11/28/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Djapian Users
I'm using Djapian 2.3.1 with Django 1.1.0 on my Ubuntu 10.04. Using
django's development server, the first request I do locally gets aprox
2 minutes to be completed, no matter which resource is asked for (not
necessarily a search). It's probably related to djapian index loading
because when I comment the load_indexes line, it works ok.
I don't need to use search in general (so I can use a conditional to
avoid loading the index in most cases) and I could also use a mock
index for some of my development tasks, but I wanted to ask you if
there is a better workaround for this situation. I don't really think
its a bug since its probably due to a large index being loaded each
time the server restarts and that sounds ok but it's really annoying
to wait that long during development, especially because development
server gets restarted every time an application's code is modified.
Thanks,
Juan