Re: If statements in DataImportHandler?

2011-03-11 Thread Stefan Matheis
Jason, have a look on http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters , this might help you out. If not, you'd give us a quick example of what you plan to do? Regards Stefan

Re: If statements in DataImportHandler?

2011-03-10 Thread Gora Mohanty
On Fri, Mar 11, 2011 at 10:23 AM, Jason Rutherglen wrote: > Right that's not within the XML however, and it's unclear how to > access the upper level entities that have already been instantiated, > eg, beyond the given 'transform' row. The second example for a ScriptTransformer in http://wiki.apa

Re: If statements in DataImportHandler?

2011-03-10 Thread Jason Rutherglen
Right that's not within the XML however, and it's unclear how to access the upper level entities that have already been instantiated, eg, beyond the given 'transform' row. On Thu, Mar 10, 2011 at 8:02 PM, Gora Mohanty wrote: > On Fri, Mar 11, 2011 at 4:48 AM, Jason Rutherglen > wrote: >> Is it p

Re: If statements in DataImportHandler?

2011-03-10 Thread Gora Mohanty
On Fri, Mar 11, 2011 at 4:48 AM, Jason Rutherglen wrote: > Is it possible to conditionally load sub-entities in > DataImportHandler, based on the gathered value of parent entities? Probably the easies way to do that is with a transformer. Please see the DIH Wiki page for details: http://wiki.apac

If statements in DataImportHandler?

2011-03-10 Thread Jason Rutherglen
Is it possible to conditionally load sub-entities in DataImportHandler, based on the gathered value of parent entities?