You might be interesting in my GSoC project!

http://code.google.com/p/djangosearch/

Apparently PyLucene has problems with threading, which is why it is  
not a priority for djangosearch. Have you run into anything like that?

Ben

On 15 Jul 2008, at 06:45, Spike^ekipS wrote:

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


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