Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
really nice module. But I have trouble to use it.
At first...I was downloaded and started „Local Solr” and installed all necessary modules (Apache Solr, Open Layers, Openlayers Apachesolr Integration, Geofield, Geocoder).
Then I was continue as is showed in the video clip..
In content type..I was added new „Location“ field without any trouble, but in case of new „Geo“ field, I couldn’t see Solr setting(latitude/longitude)..which probably means that the field is not indexing in the Solr, am I right?
Could you know anyone, where could be a problem?
Thanks a lot.
Comment | File | Size | Author |
---|---|---|---|
#2 | Field type(geofield)+Widget(Geocode from another field).png | 281.43 KB | luo8 |
#2 | Field type(geofield)+Widget(Latitude,Longitude).png | 204.65 KB | luo8 |
#1 | Screenshot at 2013-03-01 09:26:04.png | 37.09 KB | acbramley |
Comments
Comment #1
acbramley CreditAttribution: acbramley commentedHi @luo8
When you add the field to the content type you should use the "Geofield" field type (not sure what the Location field is but I don't have that in my install at all). You should then use the Latitude/Longitude widget type. When editing the field ensure that the "Index field in Solr for spatial search" checkbox is ticked and you enter names for the Solr fields underneath (see screenshot for my field settings).
Changing issue category.
Comment #2
luo8 CreditAttribution: luo8 commentedHello acbramley,
thanks for the response.
So I setup "Geofield" Field type and I tried to use 2 Widget types(first "Latitude/Longitude" and then second "Geocode from another field"), but I couldn't find "Index field in Solr for spatial search" checkbox anyway, so I can't ticked it...
Pls. see attached Screenshots...
What I could do wrong?
Thanks
Comment #3
acbramley CreditAttribution: acbramley commentedWhich version of geofield module are you using?
Comment #4
luo8 CreditAttribution: luo8 commentedgeofield 7.x-2.0-alpha2+6-dev
Comment #5
acbramley CreditAttribution: acbramley commentedI haven't tested this module at all using the 2.x branch of geofield. Please try the stable 7.x-1.1 version.
Comment #6
luo8 CreditAttribution: luo8 commentedI changed it and its working.
Thanks a lot
Comment #7
acbramley CreditAttribution: acbramley commentedNp, will add note to the project page.
Comment #8
Marko B CreditAttribution: Marko B commentedThis is still not working with current GeoField version which is 7.x-2.1 . You should mention that somewhere, as most people will not use 7.1 version of geofiled but the 7.2
Comment #9
acbramley CreditAttribution: acbramley commentedHi Marko B, thanks for the feedback. The project page did mention that this was only tested against 1.x but I have added an explicit message about 2.x now. I might be able to look into this soon
Comment #10
R-H CreditAttribution: R-H commentedWanted to check to see if there was any progress on getting this module to work with Geofield 2.x?
Thanks
Comment #11
dude74 CreditAttribution: dude74 commented+1 Need geofield 2.x to use views proximity filter (doesn't work with geofield 1.x)
Comment #12
acbramley CreditAttribution: acbramley commentedUnfortunately I've been out of openlayers for a while after picking up the leaflet library, I will attempt to take a look at this at some point in the future but if anyone else wants to pick it up go right ahead :)