Friday, January 18, 2013

Re: Django lucene

Héllo,

I'm curious why do you use lucene instead of solr ?

Thanks


2013/1/18 Harry Houdini <d00ble.ard@gmail.com>

I originally went down this path but I too ran into many problems getting this to work and ended up using Whoosh instead. The site was small ~30 pages or so it was still pretty fast. I had it index by reading the sitemap and pulling down the page content from the web server. I used BeautifulSoup4 to get the page title to store in the Whoosh DB. Anyway, just another option to consider.



On Tuesday, August 25, 2009 10:55:59 AM UTC-4, Puneet wrote:
Hi,

Does anyone have tried django-lucene module for search ??

I am able to compile the lucene and jcc as  required but the module is
not working properly as it is expected to work.  As mentioned in the
docs I have added to fields in my model

   objects = models.Manager()
   objects_search = Manager() # add search manager

But when I say ModelName.save() its not getting indexed with lucene
and when I say

 ModelName.objects.objects_search(name_first="Spike")

I am getting error that

AttributeError: 'Manager' object has no attribute 'objects_search'

Can any one help me with this ?? Does anyone have a small working
example ?

Thanks,
Puneet

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Ys0rcBWSMp0J.

To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate