Active
Project:
Geofield
Version:
7.x-2.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2015 at 18:13 UTC
Updated:
9 May 2016 at 15:16 UTC
Jump to comment: Most recent
I'm trying to create a view with Search API index and Geofield proximity. For some reason the geofield proximity option is not listed. How do I make this show up? Thank you!
Comments
Comment #1
tuwebo commentedHi,
I think you should take a look at Search API Location module, but I think you will need Apache Solr server for that.
Comment #2
blainelang commentedI can create a view with the proximity field showing distance but it would also need to have a search_api facet.
Is this possible now, as I can't get this to work. I'm willing to fund this if work is needed to get this working.
Comment #3
blainelang commentedThe issue that I was having which was preventing the proximity distance facet from working (was getting solr errors) was solved by @das-peter in this issue: https://www.drupal.org/node/2578407
The proximity distance facet is not all that usable as is, because it only works with the links style facet, generates a link for every 20km. Not so useful with records that span a country of over 3000 km.
Also, if you want to enable the geofield "distance" as an exposed filter on the view, make sure you enable the "Expose Operator" for the geofield exposed filter setting to see the dropdown selection for distances in the view.
Comment #4
blast0344 commentedIs there some patch to make this work? I've tried with the latest version of Open Layers 3, Geofield and Search api modules but it's not working. Proximity is working in view with the regular node, but there is no proximity field in search api view with "Indexed node".
Comment #5
blast0344 commentedWho needs proximity search, check this issue: https://www.drupal.org/node/2149733
I've successfully configured postcode search with indexed nodes.
Comment #6
joachim commentedDuplicate of #1651050: Integrate with Views via views_handler_field_entity - Proximity filter is missing in Search API Views?