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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

acbramley’s picture

Category: bug » support
FileSize
37.09 KB

Hi @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.

luo8’s picture

Hello 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

acbramley’s picture

Which version of geofield module are you using?

luo8’s picture

geofield 7.x-2.0-alpha2+6-dev

acbramley’s picture

I haven't tested this module at all using the 2.x branch of geofield. Please try the stable 7.x-1.1 version.

luo8’s picture

I changed it and its working.
Thanks a lot

acbramley’s picture

Status: Active » Closed (fixed)

Np, will add note to the project page.

Marko B’s picture

Issue summary: View changes
Status: Closed (fixed) » Needs work

This 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

acbramley’s picture

Title: In „Geo“ field, I couldn’t see Solr setting » Doesn't work with Geofield 2.x
Category: Support request » Bug report

Hi 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

R-H’s picture

Wanted to check to see if there was any progress on getting this module to work with Geofield 2.x?

Thanks

dude74’s picture

+1 Need geofield 2.x to use views proximity filter (doesn't work with geofield 1.x)

acbramley’s picture

Unfortunately 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 :)