简体   繁体   English

Django Haystack中的多边形搜索

[英]Polygon search in django haystack

Documentation says, that polygon search is possible with elastic http://django-haystack.readthedocs.org/en/latest/spatial.html 文档说,可以通过弹性http://django-haystack.readthedocs.org/en/latest/spatial.html搜索多边形

However, I can't find any code samples with polygon search implementation. 但是,我找不到使用多边形搜索实现的任何代码示例。 Do you have some? 你有吗

An answer is here: https://github.com/toastdriven/django-haystack/pull/720 答案在这里: https : //github.com/toastdriven/django-haystack/pull/720

Request is ready, but still not merged: it lacks docs and tests. 请求已准备就绪,但仍未合并:缺少文档和测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM