Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to perform Geo Spatial search with django-haystack + solr
    primarykey
    data
    text
    <p>I'm currently using django haystack with xapian. I couldn't find any documentation on how to perform geospatial queries on xapian. But there seems to be some momentum on Solr. So i'm currently experimenting with that.</p> <p>I couldn't get spatialSolr to work properly on local, but for now working with spatial-solr-light, which seems to work fine. It accepts queries like</p> <p><a href="http://127.0.0.1:8080/solr/select/?q=blahblah&amp;spatial=" rel="nofollow">http://127.0.0.1:8080/solr/select/?q=blahblah&amp;spatial=</a>{!radius=1.0%20sort=true}lat:10.0,lng:-10.0</p> <p>Can anyony point me to a patch for haystack that allows me to pass custom queries like that. I could use raw_search(), but i can't chain the resuts. In any case i would like to find a cleaner way to do something like sqs.spatial(....)</p> <p>There are some patches from other people mentioned on the google group(links below), but most of them are unreachable.</p> <p>References:</p> <ul> <li><p><a href="https://github.com/fizx/solr-spatial-light" rel="nofollow">https://github.com/fizx/solr-spatial-light</a></p></li> <li><p><a href="http://groups.google.com/group/django-haystack/browse_thread/thread/d0e23d45c0baa300/2298b6cf43389e18?lnk=gst&amp;q=Spatial#2298b6cf43389e18" rel="nofollow">http://groups.google.com/group/django-haystack/browse_thread/thread/d0e23d45c0baa300/2298b6cf43389e18?lnk=gst&amp;q=Spatial#2298b6cf43389e18</a></p></li> <li><p><a href="http://groups.google.com/group/django-haystack/browse_thread/thread/f88d625679941d77/420892adac151a64" rel="nofollow">http://groups.google.com/group/django-haystack/browse_thread/thread/f88d625679941d77/420892adac151a64</a></p></li> <li><p><a href="http://groups.google.com/group/django-haystack/browse_thread/thread/e3a70112ce944b00/33bd673fbaaed0a7?lnk=gst&amp;q=jteam#33bd673fbaaed0a7" rel="nofollow">http://groups.google.com/group/django-haystack/browse_thread/thread/e3a70112ce944b00/33bd673fbaaed0a7?lnk=gst&amp;q=jteam#33bd673fbaaed0a7</a></p></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload