You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Pablo Ferrari <pa...@gmail.com> on 2009/11/19 11:20:49 UTC
Control DIH from PHP
Hello!
After been working in Solr documents updates using direct php code (using
SolrClient class) I want to use the DIH (Data Import Handler) to update my
documents.
Any one knows how can I send commands to the DIH from php? Any idea or
tutorial will be of great help because I'm not finding anything useful so
far.
Thank you for you time!
Pablo
Tinkerlabs
Re: Control DIH from PHP
Posted by Pablo Ferrari <pa...@gmail.com>.
Thankyou
2009/11/21 Lance Norskog <go...@gmail.com>
> Nice! I didn't notice that before. Very useful.
>
> 2009/11/19 Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>:
> > you can pass the uniqueId as a param and use it in a sql query
> >
> http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters
> .
> > --Noble
> >
> > On Thu, Nov 19, 2009 at 3:53 PM, Pablo Ferrari <pa...@gmail.com>
> wrote:
> >> Most specificly, I'm looking to update only one document using it's
> Unique
> >> ID: I dont want the DIH to lookup the whole database because I already
> know
> >> the Unique ID that has changed.
> >>
> >> Pablo
> >>
> >> 2009/11/19 Pablo Ferrari <pa...@gmail.com>
> >>
> >>>
> >>>
> >>> Hello!
> >>>
> >>> After been working in Solr documents updates using direct php code
> (using
> >>> SolrClient class) I want to use the DIH (Data Import Handler) to update
> my
> >>> documents.
> >>>
> >>> Any one knows how can I send commands to the DIH from php? Any idea or
> >>> tutorial will be of great help because I'm not finding anything useful
> so
> >>> far.
> >>>
> >>> Thank you for you time!
> >>>
> >>> Pablo
> >>> Tinkerlabs
> >>>
> >>
> >
> >
> >
> > --
> > -----------------------------------------------------
> > Noble Paul | Principal Engineer| AOL | http://aol.com
> >
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
>
Re: Control DIH from PHP
Posted by Lance Norskog <go...@gmail.com>.
Nice! I didn't notice that before. Very useful.
2009/11/19 Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>:
> you can pass the uniqueId as a param and use it in a sql query
> http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters.
> --Noble
>
> On Thu, Nov 19, 2009 at 3:53 PM, Pablo Ferrari <pa...@gmail.com> wrote:
>> Most specificly, I'm looking to update only one document using it's Unique
>> ID: I dont want the DIH to lookup the whole database because I already know
>> the Unique ID that has changed.
>>
>> Pablo
>>
>> 2009/11/19 Pablo Ferrari <pa...@gmail.com>
>>
>>>
>>>
>>> Hello!
>>>
>>> After been working in Solr documents updates using direct php code (using
>>> SolrClient class) I want to use the DIH (Data Import Handler) to update my
>>> documents.
>>>
>>> Any one knows how can I send commands to the DIH from php? Any idea or
>>> tutorial will be of great help because I'm not finding anything useful so
>>> far.
>>>
>>> Thank you for you time!
>>>
>>> Pablo
>>> Tinkerlabs
>>>
>>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>
--
Lance Norskog
goksron@gmail.com
Re: Control DIH from PHP
Posted by Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>.
you can pass the uniqueId as a param and use it in a sql query
http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters.
--Noble
On Thu, Nov 19, 2009 at 3:53 PM, Pablo Ferrari <pa...@gmail.com> wrote:
> Most specificly, I'm looking to update only one document using it's Unique
> ID: I dont want the DIH to lookup the whole database because I already know
> the Unique ID that has changed.
>
> Pablo
>
> 2009/11/19 Pablo Ferrari <pa...@gmail.com>
>
>>
>>
>> Hello!
>>
>> After been working in Solr documents updates using direct php code (using
>> SolrClient class) I want to use the DIH (Data Import Handler) to update my
>> documents.
>>
>> Any one knows how can I send commands to the DIH from php? Any idea or
>> tutorial will be of great help because I'm not finding anything useful so
>> far.
>>
>> Thank you for you time!
>>
>> Pablo
>> Tinkerlabs
>>
>
--
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com
Re: Control DIH from PHP
Posted by Pablo Ferrari <pa...@gmail.com>.
Most specificly, I'm looking to update only one document using it's Unique
ID: I dont want the DIH to lookup the whole database because I already know
the Unique ID that has changed.
Pablo
2009/11/19 Pablo Ferrari <pa...@gmail.com>
>
>
> Hello!
>
> After been working in Solr documents updates using direct php code (using
> SolrClient class) I want to use the DIH (Data Import Handler) to update my
> documents.
>
> Any one knows how can I send commands to the DIH from php? Any idea or
> tutorial will be of great help because I'm not finding anything useful so
> far.
>
> Thank you for you time!
>
> Pablo
> Tinkerlabs
>