Giter Club home page Giter Club logo

Comments (4)

cchristelis avatar cchristelis commented on August 22, 2024

Perhaps it is worth investigating this elastic search docker as an alternative:
https://github.com/dockerfile/elasticsearch

from feti.

gubuntu avatar gubuntu commented on August 22, 2024

Consider django sphinx as well. We use it in t4a.

Also postgresql full text search.
On 16 Apr 2015 1:53 PM, "cchristelis" [email protected] wrote:

Perhaps it is worth investigating this elastic search docker as an
alternative:
https://github.com/dockerfile/elasticsearch

Reply to this email directly or view it on GitHub
#10 (comment).

from feti.

lucernae avatar lucernae commented on August 22, 2024

Summary

The idea is to use haystack as a wrapper to the search engine. We will communicate (and define) our search via haystack to the search engine. Haystack support some search engine backend. Haystack itself needs a backend to work. We will probably implement this backend service as a separate docker image and configure it to access our database.

Solr

ElasticSearch

Whoosh

  • Haystack suggest Whoosh 1.3.1+
  • Pure python
  • It says, good for small scale live deployment, and easy to setup --> but I think it means not ready for production
  • doesn't support spatial search

So, I think we will use ElasticSearch backend, maybe it is less complicated to setup and manage (compared to Solr), and it provides more functionality. If we want a quick solution, we just have to use haystack instead of implementing a wrapper of postgres's full text.

Implementation plan

  • We will need a docker image of ElasticSearch and set it up as a search engine of our database.
  • Install Haystack on Django, and set the connection URL to our ElasticSearch backend
  • Implement Django models and Haystack SearchIndex so Haystack can understand how do we index the data
  • Implement SearchView and/or SearchForm, because I think we will need more than just a simple one search box. We will implement the search criteria using SearchForm, and have it connected with SearchQuerySet API to return results.
  • We can apply additional sorting method or filtering geographic information using Spatial Search, which is said very similar to GeoDjango.

from feti.

lucernae avatar lucernae commented on August 22, 2024

The investigation part is pretty much over...

from feti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.