Purpose of Haystack - django

Can anyone help me to do know about haystack? I have read about it in the official website. But I can't get it clearly what they do in it and in which purpose it will be used. Explain me about it with the example. Thanks in advance.

Haystack provides modular search for Django. It allows you to search on top of search backends (such as Solr, Elasticsearch, Whoosh, Xapian, etc.)
It features a unified, familiar API that allows you to plug in different search backends without having to modify your code.
Read Docs Here for more info

Related

How to implement Elastic Search with Django rest framework without using viewsets?

I want to design a search system using Django rest framework and Elastic Search. I could not get a proper tutorial on what each of the things mentioned in elasticsearch-dsl and elasticsearch-dsl-drf stand and how to use them with full explanation. Any guides and suggestions would be very highly appreciated.

Wagtail and Django-Tenants, does it work together?

Does anyone have experience in this topic? Is it fully incompatible or might it be possible to customize certain parts of the app to make it work.
multi-tenancy is not yet fully supported by Wagtail.
Although, as mentioned here in docs, there are some features that are supported.
You may find this blog helpful. Also here is a repository that implements basic features of multi tenancy with django and wagtail and you can play around with it.
Here are some other CMS (build on top of Django) you can try.
I think as long as there are no raw sql queries in wagtail's source code we are good to use django-tenents, the layer that django-tenets is working on is on top of django orm it self.
see wagtail-tenents

Could we add custom function query in Azure search like Solr FunctionQueries

I have building search engine of a website by Azure search and need to add some complex logic rule in searching. It's can be written easily in programming languages: C#, python...but hard in query syntax. I saw Solr has feature like FunctionQueries and elastics search can run a python script. How about Azure search service?
It's not supported.
Maybe there is a different way to enable your scenario. Feel free to reach out to me at jlembicz at Microsoft com to discus your requirements in detail.

What is a simple way to make a basic website with graph database backend for newbie?

Graph database systems like ne04j seem to becoming very popular of late. I am a newbie user who is trying to set-up a website that needs to display some data which is best displayed using a graph database (essentially i will visualize this on the website).
I am designing this website using CMS Drupal but i am open to changing to other CMS or in worst case a web application framework like Django. Can anyone suggest me a basic template, website or extension to a CMS that enable graph databases or a good way to start learning web app development using graph databases for a noob ?
Well, if you're curious about using Drupal to manage graphs, I'd recommend looking over these contributed modules:
http://drupal.org/project/graphapi
http://drupal.org/project/charts
http://drupal.org/project/views_charts
http://drupal.org/project/charts_graphs
There is http://structr.org/, a CMS built on Neo4j and very Open and capable. Other bindings, you might take a look at REST bindings and neo4j embedded bindings to get going.
If you're looking for even more alternatives for charting in Drupal, then you may want to start from the Comparison of charting module, which includes information and links about quite a lot of charting related modules in Drupal.
If you're aware of other modules not included in it, please update that docu if you can, or let me know about it.

Is it possible to use Django with Qooxdoo framework?

Guys i would like to use Django as my backend framework and qooxdoo as the frontend framework.
Is it practical to do this?
Has anyone tried to do this?
How did they do it?
Links and pointers would nice.
Gath
I have no direct experience using Django and qooxdoo, but the general answer to the question "Is it practical?" is: yes :). Although Django's default rendering behaviour is to produce HTML (which is unsuitable for a single page application like the ones you build with qooxdoo), it's easy to switch to returning e.g. Json on requests, which is a common format for the client-server communication between a qooxdoo frontend and a server. They just exchange data.
Has anyone tried to do this? - Yes, but they don't give much information on how, other than the before mentioned Json data exchange, implementing a Json RPC server in Django using RPC4Django.
AFAIK, there is no deeper Django integration, e.g. interfacing qooxdoo with Django views on the server (like dojango).
Hope this helps.
Update:
There is one elaborate product, Sava, using qooxdoo for the frontend and Django for the backend. There is a short overview, but I think it's closed-source so it only testifies to the "practicality" of using this technology stack. You probably won't learn in detail how it is realized.
There is also enre, a qooxdoo-based GUI for Django. But I'm not familiar with it, and couldn't find any documentation on first glance, so I'm not sure what this really means.