Re: JavaScript transform switch statement during Data Import

2013-04-17 Thread paulblyth
- it just doesn't. The log doesn't record anything useful that I can tell (from a limited experience), it just simply doesn't seem to execute the switch statement at all. Thanks, Paul -- View this message in context: http://lucene.472066.n3.nabble.com/JavaScript-transform-swi

Re: JavaScript transform switch statement during Data Import

2013-04-17 Thread Gora Mohanty
On 17 April 2013 17:10, paulblyth wrote: > That post lost a lot of formatting. Please find attached instead. > db-data-config.xml > I do not see how this could be working in either case. Your select statement is "SELECT COLOURS

Re: JavaScript transform switch statement during Data Import

2013-04-17 Thread paulblyth
That post lost a lot of formatting. Please find attached instead. db-data-config.xml <http://lucene.472066.n3.nabble.com/file/n4056649/db-data-config.xml> -- View this message in context: http://lucene.472066.n3.nabble.com/JavaScript-transform-switch-statement-during-Data-

Re: JavaScript transform switch statement during Data Import

2013-04-17 Thread paulblyth
nge', 'Red', 'Yellow' etc. Using the 'myBrokenTransformer' the import completes successfully but the values are stored as 'orange', 'red', 'yellow' etc. I hope that is clearer. Thanks, paul -- View this message in context: http://lucene.47

Re: JavaScript transform switch statement during Data Import

2013-04-16 Thread Chris Hostetter
: Hello - I'm trying to add a switch statement into a JavaScript function that : we use during an import; it's to replace an "if else" block that is becoming : increasingly large. : : Bizarrely, the switch block is ignore entirely, and it doesn't have any : effect whatsoever. you haven't really

JavaScript transform switch statement during Data Import

2013-04-16 Thread paulblyth
anything to suggest this is a known bugs. Has anyone come across this before? Paul -- View this message in context: http://lucene.472066.n3.nabble.com/JavaScript-transform-switch-statement-during-Data-Import-tp4056340.html Sent from the Solr - User mailing list archive at Nabble.com.