2008/7/15, Spike^ekipS <[EMAIL PROTECTED]>: > > > Hi, django users and developers. > > I'm happy to let you know my django application, Django search with > Lucene(DSL). I try > to tighly integrate the Lucene with Django, so I find the way to use > lucene easily in Django. > > Django search with Lucene(DSL) supports, > * indexing object automatically when object is saved(update, delete > also applied in index) > * search indexed document by django filtering expression > >>> Person.objects_search.filter(name="spike", age=10) > * indexing the existing object like this, > >>> Person.objects.filter(pk__gte=100).create_index() > * etc. > > Make a story short, this is examples, > =============================================== > person = Person.objects.create( > name_first="Spike", > name_last="Ekips", > ) > > person.name_first = "New Spike" > person.name_last = "New Ekips" > person.save() > >>> > Person.objects.objects_search(name_first="Spike").exclude(name_last="ekips").order_by("-time_added") > >>> > Person.objects_search(name_first__icontains="pike").order_by("-time_added") > >>> Person..objects_search( > time_added__lte=(datetime.datetime.now() - > datetime.timedelta(days=10)) > ) > >>> result = Person.objects_search( > time_added__lte=(datetime.datetime.now() - > datetime.timedelta(days=10)) > ) > > >>> for i in result : > print i.get("name_first") > print i.name_first > print i.pk > print i.get("__uid__") > print i.get("name_last") > =============================================== > object automatically indexed when saved and analyzed and we can digg > the index db with django model filtering expression. > > For more information, visit the project page, > http://code.google.com/p/django-search-lucene/ > or see the short document at > http://django-search-lucene.googlecode.com/files/django-search-lucene.pdf > . > > Thanks. > > I try to integrated django with PyLucene before,and I find it could't work with fcgi. Pylucen in thread must import PyLucene.PythonThread as thread。 have you test it for fcgi?
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---