Hi,

I need to implement a search over a text field I have ...
The user can enter multiple values into a search box and I need to do
kind of full text search in one field of the database.

E.G.
class DataSet(models.Model):
  ...
  abstract = models.TextField()
  ...

Let's say the user enters "january snowman carrot" and wants so search
the abstract.

How do I do this with multiple words?
I split them up into a list and then ...?
I would need to make the query that dynamic that it allows any numbers
of words to search for ... But I have no clue how.

I have read shortly about complex lookups with Q objects, very shortly
about sphinx, and googled here and there but did not find a (for me)
obvious solution.

Thanks a lot!
Katja

--~--~---------~--~----~------------~-------~--~----~
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