Hello!

I'd like to ask everyone's opinion on implementing a search 
functionality in an app. The app is a forum that tends to be simple and 
pluggable. Now I'm on a quest of picking a right solution for searching 
and have stuck.

My current thoughts and decision:

- Searching using "like" db queries is too simplistic and tends to be 
slower over time.
- Database-specific solutions (MySQL search, Postgres TSearch2) kill 
portability.
- PyLucene is too large to work in-process (20 MB in memory). Also it 
doesn't work with Python's threading (segfaulting the whole process on 
import). A solution would be a dedicated PyLucene process.
- Xapian looks good but I didn't actually try it yet. I've heard though 
that it doesn't implement locking of index database and this should be 
done manually. Not a rocket science but complicates the solution a bit. 
I've also seen recommendation to run it in a dedicated process.

So my questions are:

- Am I doomed to have a separate server? This complicates things a lot 
and I very much inclined to use some in-process thing
- Are there any solutions on a scale between simplistic "likes" and 
sophisticated indexers like Lucene?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to