Re: DIH problem passing HTTP parameters into data-config

2009-08-12 Thread Shalin Shekhar Mangar
On Thu, Aug 13, 2009 at 3:08 AM, John Lowe wrote: > Hmmm...perhaps my original note was a bit TLTR. Trying again: > > The v1.3 docs say that one can pass one's own parameters in to DIH via the > HTTP request: > DIH in Solr 1.3 had a bug due to which request parameters in variables were not reso

Re: DIH problem passing HTTP parameters into data-config

2009-08-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Aug 13, 2009 at 4:08 AM, Erik Hatcher wrote: > My hunch, though I'll try to make some time to test this out thoroughly, is > that the entity is parsed initially with variables resolved, but not per > request.  Variables/expressions do get expanded for fields of course, but > perhaps not for

Re: DIH problem passing HTTP parameters into data-config

2009-08-12 Thread Erik Hatcher
My hunch, though I'll try to make some time to test this out thoroughly, is that the entity is parsed initially with variables resolved, but not per request. Variables/expressions do get expanded for fields of course, but perhaps not for other high-level attributes? Erik On Aug 12

DIH problem passing HTTP parameters into data-config

2009-08-12 Thread John Lowe
Hmmm...perhaps my original note was a bit TLTR. Trying again: The v1.3 docs say that one can pass one's own parameters in to DIH via the HTTP request: http://wiki.apache.org/solr/DataImportHandler#head-520f8e527d9da55e8ed1e274e29709c8805c8eae SO if I have a URL like the following to dataimp

Re: DIH problem passing HTTP parameters into data-config

2009-08-11 Thread John Lowe
Oops, the url attribute of the element in the snippet should read: url="${dataimporter.request.feed}" to match the http parameter... John

DIH problem passing HTTP parameters into data-config

2009-08-11 Thread John Lowe
I've read the documentation as carefully as I can, but I must be missing something. I'm running Solr 1.3. The doc sez that I can pass my own parameters in to DIH via the HTTP request: http://wiki.apache.org/solr/DataImportHandler#head-520f8e527d9da55e8ed1e274e29709c8805c8eae What I'd like