Saturday, December 16, 2017

Re: How to implement full-text search in Django?

Thanks Egor. Django-haystack looks quite flexible and well-designed.

My current plan is to use redisearch plugin for Redis:
http://redisearch.io/

I'm thinking that I could write a script to import into redis a list of
URLs by fetching a RSS file as input and then use redisearch to perform
a full-text search query and return a JSON stream.

My goal is to not duplicate data between redis and zodb...

What do you think?

Etienne


Le 2017-12-16 à 06:05, Egor Smolyakov a écrit :
> Check out this library https://github.com/django-haystack/django-haystack
>
> It supports a wide range of backends.
>
> On 16/12/2017, Etienne Robillard <tkadm30@yandex.com> wrote:
>> Hi all,
>>
>> I would like some input on implementing a full-text search engine for my
>> website and blog.
>>
>> I really don't want to use Google search API or a external webservice to
>> index my documents.
>>
>> Also, my blog is powered by ZODB while my main website uses Durus.
>>
>> Ideally, i would like to use Redis server to index my documents and
>> Ajax/jQuery to make a search using JSON.
>>
>> I have considered Elasticsearch, but it requires Java, and I don't
>> really like this.
>>
>> Is there any other alternatives for indexing non-relational database
>> objects such as ZODB ?
>>
>> What do you think?
>>
>>
>> Etienne
>>
>>
>> --
>> Etienne Robillard
>> tkadm30@yandex.com
>> https://www.isotopesoftware.ca/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscribe@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/02c550ee-57c9-a7b6-128b-343693c98cbe%40yandex.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

--
Etienne Robillard
tkadm30@yandex.com
https://www.isotopesoftware.ca/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/21edc431-64dd-e7f5-5d5f-4a9d522ca985%40yandex.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment