VeggieMeat / search_api_elasticsearch

Clone of project at drupal.org/project/search_api_elasticsearch for better CI options than what D.O offers
16 stars 8 forks source link

Switch ':' to '-' in field ids of container fields like address field #4

Closed VeggieMeat closed 10 years ago

VeggieMeat commented 10 years ago

Original issue: https://drupal.org/node/2281391

Hello together,

is it possible to central switch from ':' to '-' in container fields (like address field, geo field), because the ':' makes many problems to handle these field values in JSON.

For example an address field element:
field_location->country looks in ElasticSearch index like field_location:country

I found a way to replace ':' with '-' when indexing, but then I think many other functions does not work any more.

Or is this more located in the search_api module itself?

Greetz