Dubrzr / golb

A simple multi-author blog webapp using Django
https://futureistech.com/
MIT License
1 stars 0 forks source link

Add instant ajax search #5

Open Dubrzr opened 8 years ago

Dubrzr commented 8 years ago

Search will always return articles as results for now. It must handle: -> search for username or first name/last name will return articles edited by this user -> search for words will first return articles which have tags corresponding to those words -> search for words will return articles ordered by most relevant results -> search for date will return articles with the exact or near date

tgy commented 8 years ago

I think the search-by-word feature should also look at the content of the articles.

I think django-haystack (http://haystacksearch.org/) is what we are looking for.

Dubrzr commented 8 years ago

Yep this is what I meant when saying "search for words will return articles ordered by most relevant results", it will look at the content of articles.

If Haystask search can handle all features yep, we can use it!

tgy commented 8 years ago

We could also use elastic search https://github.com/liberation/django-elasticsearch

Dubrzr commented 8 years ago

Yes, the first one to develop this feature will have the opportunity to choose the import ;) :p