On Tue, Oct 12, 2010 at 8:43 AM, Stefan Matheis < matheis.ste...@googlemail.com> wrote:
> Hi Isreal, > > On Mon, Oct 11, 2010 at 7:03 AM, Israel Ekpo <israele...@gmail.com> wrote: > > > If you are using Solr via PHP and would like to see any new features in > the > > extension please feel free to send me a note. > > > we actually tried to grab some informations from solr's dataimport-page, > but > therefore we had to generate the complete url manually. which means, we > have > to access the solr-object to get hostname, port, etc and construct the > needed url ourself. > > perhaps it's an idea to implement something like $solr->executeHttpRequest( > 'GET', 'dataimport', array( 'command' => 'status' ) which could easily > reuse > all given informations and also for example the existing proxy handling. > > Regards > Stefan > Stefan, I agree with you. Excellent idea. I am currently working on a feature that will allow you to specify the target path (url) and then able to send any parameters or xml request to the server. I think this feature will take care of this. What do you think? -- °O° "Good Enough" is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once. http://www.israelekpo.com/