On the recommendation that ljworld uses swish-e [1], I incorporated
that into my django powered site.  The Python interface I use is [2].

Here's the code my search view uses:

handle = SwishE.new(SEARCH_INDEX_FILE)
results = handle.query(terms)

ids = [int(x.getproperty('swishdocpath')) for x in results]

Then just call a Model.objects.in_bulk().....

[1] http://swish-e.org/
[2] http://jibe.freeshell.org/bits/SwishE


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

Reply via email to