Facet values for spacial field

2013-09-10 Thread Christian Köhler - ZFMK
Hi, I use the new SpatialRecursivePrefixTreeFieldType field to store geo coordinates (e.g. 14.021666,51.5433353 ). I can retrieve the coordinates just find so I am sure they are indexed correctly. However when I try to create facets from this field, solr returns something which looks like a

Re: Transform data at index time: country - continent

2013-08-08 Thread Christian Köhler - ZFMK
, Christian Köhler - ZFMK wrote: Am 05.08.2013 15:52, schrieb Jack Krupansky: You can write a brute force JavaScript script using the StatelessScript update processor that hard-codes the mapping. I'll probably do something like this. Unfortunately I have no influence on the original db itself

Re: Transform data at index time: country - continent

2013-08-08 Thread Christian Köhler - ZFMK
+as), but that has an impact on queries. But, the scripts also handles multivalued fields (one value at a time), and nested multivalued fields is not supported. Thoughts? -- Jack Krupansky -Original Message- From: Christian Köhler - ZFMK Sent: Tuesday, August 06, 2013 5:18 AM To: solr-user

Re: Transform data at index time: country - continent

2013-08-06 Thread Christian Köhler - ZFMK
Am 05.08.2013 15:52, schrieb Jack Krupansky: You can write a brute force JavaScript script using the StatelessScript update processor that hard-codes the mapping. I'll probably do something like this. Unfortunately I have no influence on the original db itself, so I have fix this in solr.

Re: Transform data at index time: country - continent

2013-08-06 Thread Christian Köhler - ZFMK
Hi, Am 06.08.2013 12:56, schrieb Raymond Wiker: Another option might be to use a pre-existing web service... it should be relatively easy to add that to your dataimporthandler configuration (if you're using DIH, that is :-) A quick google search gave me http://www.geonames.org; see

Transform data at index time: country - continent

2013-08-05 Thread Christian Köhler - ZFMK
Hi, I am indexing data from a mysql data source. Each record contains the field country. I am looking for a suitable way to create a field continent at indexing time. A list with the information country - continent is given. Writing a script and calling it as a transformer in the sql query

Transform data at index time: country - continent

2013-08-05 Thread Christian Köhler - ZFMK
Hi, I am indexing data from a mysql data source. Each record contains the field country. I am looking for a suitable way to create a field continent at indexing time. A list with the information country - continent is given. Writing a script and calling it as a transformer in the sql query

Transform data at index time: country - continent

2013-08-05 Thread Christian Köhler - ZFMK
Hi, I am indexing data from a mysql data source. Each record contains the field country. I am looking for a suitable way to create a field continent at indexing time. A list with the information country - continent is given. Writing a script and calling it as a transformer in the sql query

Transform data at index time: country - continent

2013-08-05 Thread Christian Köhler - ZFMK
Hi, I am indexing data from a mysql data source. Each record contains the field country. I am looking for a suitable way to create a field continent at indexing time. A list with the information country - continent is given. With my limited knowledge of solr writing a script and calling it as a

Transform data at index time: country - continent

2013-08-05 Thread Christian Köhler - ZFMK
Hi, I am indexing data from a mysql data source. Each record contains the field country. I am looking for a suitable way to create a field continent at indexing time. A list with the information country - continent is given. With my limited knowledge of solr writing a script and calling it as a

Re: Transform data at index time: country - continent

2013-08-05 Thread Christian Köhler - ZFMK
Hi, please excuse the multiple emails to the list. There is a mailserver issue - our admin has fixed it (he said ...). @ list-admin: you may delete my previous duplicate mails (9:59, 10:01 an 10:34) from the list. Sorry for the noise! Chris -- Christian Köhler Tel.: 0228 9122-433

Re: Transform data at index time: country - continent

2013-08-05 Thread Christian Köhler - ZFMK
Hi, to have a database table holding the relationships between countries and continents, and using a join to get the continent. I forgot to mention: I only have reading access to the database. Regards Chris -- Christian Köhler Tel.: 0228 9122-433 Zoologisches Forschungsmuseum Alexander