Facet values for spacial field

2013-09-10 Thread Christian Köhler - ZFMK
ty:"t4m70cmvej9"; java.lang.IllegalArgumentException: missing parens: t4m70cmvej9 How do I get the results of a single location using faceting? Any thoughts? Regards Chris -- Christian Köhler Zoologisches Forschungsmuseum Alexander Koenig Leibniz-Institut für Biodiversität der Tiere Adenauerallee

Re: Transform data at index time: country -> continent

2013-08-08 Thread Christian Köhler - ZFMK
ot; or "eu+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

Re: Transform data at index time: country -> continent

2013-08-08 Thread Christian Köhler - ZFMK
n -- Walter Underwood wun...@wunderwood.org -- Christian Köhler Tel.: 0228 9122-433 Zoologisches Forschungsmuseum Alexander Koenig Leibniz-Institut für Biodiversität der Tiere Adenauerallee 160, 53113 Bonn, Germany www.zfmk.de Stiftung des öffentlichen Rechts Direktor: Prof. J. Wolfgang

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 http://www.g

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. Chee

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

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

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

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

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

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Christian Köhler - ganzgraph gmbh
Hi, i'm totally confused ... DIH == DataImportHandler ... it's just an acronym, you say you aren't using DIH, but you are having a problem loading DIH, so DIH is used in your configs. sorry for the confusion. I was just trying to say: I use the example code from solr-4.3.0/example/solr and no

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Christian Köhler
ivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:789) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forNa

Re: Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Christian Köhler - ganzgraph gmbh
ample/conf/data-config.xml with to explicit to solrconf.xml - add absolute path to solrarconf.xml - changed solr.xml to use -- Christian Köhler ganzgraph gmbh Bornheimer Straße 37 53111 Bonn koeh...@ganzgraph.de http://www.ganzgraph.de/ Tel.: +49-(0)228-227 99 400 Fax : +49-(0)228-

Solr 4.3 fails to load MySQL driver

2013-05-23 Thread Christian Köhler
Hi, in my attempt to migrate for m 3.6.x to 4.3.0 I stumbled upon an issue loading the MySQL driver from the [instance]/lib dir: Caused by: java.lang.ClassNotFoundException: org.apache.solr.handler.dataimport.DataImportHandler at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at j