You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Francesc Bruguera <fr...@yahoo.es> on 2008/11/04 20:52:01 UTC

Parase nutch results

Hello.

What do you use to parase the results that you get with Nutch.
Do you know any Nutch OpenSearch Client that uses PHP?
Or a PHP library?

Thanks



      

Re: Parase nutch results

Posted by Rinesh Kumar <ma...@gmail.com>.
Hi ,
   I am trying to implement advanced search on top of nutch.
   But nutch removes most of the boolean operators and returns
irrelevant results.
   Is it possible to configure nutch not to ignore the boolean
operator while searching.
--
Thanks & Regards
Rinesh

-- 
Thanks & Regards
Rinesh

Re: Parase nutch results

Posted by Francesc Bruguera <fr...@yahoo.es>.
Look at http://www.net-seekr.co.cc/search




________________________________
De: John Martyniak <jo...@beforedawn.com>
Para: nutch-user@lucene.apache.org
Enviado: miércoles, 5 de noviembre, 2008 14:36:07
Asunto: Re: Parase nutch results

Be careful with the using magpie, because it will only map the  
"standard" RSS fields.  Nutch actually returns a modified results RSS,  
meaning that it has more information than is normally put into a RSS  
feed.

-John

On Nov 5, 2008, at 8:30 AM, Francesc Bruguera wrote:

> Ok,
> I'll do it with magpierss-0.72 library for PHP
>
> Thanks
>
>
>
>
>
> ________________________________
> De: Jianheng Qiu <ki...@gmail.com>
> Para: nutch-user@lucene.apache.org
> Enviado: miércoles, 5 de noviembre, 2008 1:58:53
> Asunto: Re: Parase nutch results
>
> RSS is a practical method. But if you dont want to run two web  
> servers nor
> install a JVM in your host. You can copy the index generated by  
> nutch to
> your host and use the ZEND Lucene liberary to parse the index.
>
>
>
> On Wed, Nov 5, 2008 at 4:17 AM, John Martyniak <jo...@beforedawn.com>  
> wrote:
>
>> You will have to use something like curl or fopen, and pass it the  
>> url of
>> your nutch application server.  It will pass the RSS xml stream  
>> back.  Which
>> you can then process.
>>
>> -John
>>
>>
>> On Nov 4, 2008, at 3:08 PM, Francesc Bruguera wrote:
>>
>> I mean...
>>>
>>> How to call with my php app?
>>>
>>>
>>>
>>>
>>> ________________________________
>>> De: John Martyniak <jo...@beforedawn.com>
>>> Para: nutch-user@lucene.apache.org
>>> Enviado: martes, 4 de noviembre, 2008 21:05:08
>>> Asunto: Re: Parase nutch results
>>>
>>> Well the Nutch open Search util does have the ability to return
>>> results in RSS XML.
>>>
>>> Have you installed nutch and have it running, including the Tomcat  
>>> part?
>>>
>>> if you have then the link is on the results page, and you can just
>>> call that from your php app.
>>>
>>> -John
>>>
>>> On Nov 4, 2008, at 3:01 PM, Francesc Bruguera wrote:
>>>
>>> Do you know how can I do it?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ________________________________
>>>> De: John Martyniak <jo...@beforedawn.com>
>>>> Para: nutch-user@lucene.apache.org
>>>> Enviado: martes, 4 de noviembre, 2008 20:57:39
>>>> Asunto: Re: Parase nutch results
>>>>
>>>> A way that you can do it, is to treat the Nutch Open Search  
>>>> Client as
>>>> a web service, and have your PHP app call that and utilize the
>>>> resulting RSS XML to post your results.
>>>>
>>>> -John
>>>>
>>>> On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:
>>>>
>>>> Hello.
>>>>>
>>>>> What do you use to parase the results that you get with Nutch.
>>>>> Do you know any Nutch OpenSearch Client that uses PHP?
>>>>> Or a PHP library?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
>
> -- 
> Best Regards,
> Jianheng Qiu
> kinhunt@gmail.com
>
>
>


      

Re: Parase nutch results

Posted by John Martyniak <jo...@beforedawn.com>.
Be careful with the using magpie, because it will only map the  
"standard" RSS fields.  Nutch actually returns a modified results RSS,  
meaning that it has more information than is normally put into a RSS  
feed.

-John

On Nov 5, 2008, at 8:30 AM, Francesc Bruguera wrote:

> Ok,
> I'll do it with magpierss-0.72 library for PHP
>
> Thanks
>
>
>
>
>
> ________________________________
> De: Jianheng Qiu <ki...@gmail.com>
> Para: nutch-user@lucene.apache.org
> Enviado: miércoles, 5 de noviembre, 2008 1:58:53
> Asunto: Re: Parase nutch results
>
> RSS is a practical method. But if you dont want to run two web  
> servers nor
> install a JVM in your host. You can copy the index generated by  
> nutch to
> your host and use the ZEND Lucene liberary to parse the index.
>
>
>
> On Wed, Nov 5, 2008 at 4:17 AM, John Martyniak <jo...@beforedawn.com>  
> wrote:
>
>> You will have to use something like curl or fopen, and pass it the  
>> url of
>> your nutch application server.  It will pass the RSS xml stream  
>> back.  Which
>> you can then process.
>>
>> -John
>>
>>
>> On Nov 4, 2008, at 3:08 PM, Francesc Bruguera wrote:
>>
>> I mean...
>>>
>>> How to call with my php app?
>>>
>>>
>>>
>>>
>>> ________________________________
>>> De: John Martyniak <jo...@beforedawn.com>
>>> Para: nutch-user@lucene.apache.org
>>> Enviado: martes, 4 de noviembre, 2008 21:05:08
>>> Asunto: Re: Parase nutch results
>>>
>>> Well the Nutch open Search util does have the ability to return
>>> results in RSS XML.
>>>
>>> Have you installed nutch and have it running, including the Tomcat  
>>> part?
>>>
>>> if you have then the link is on the results page, and you can just
>>> call that from your php app.
>>>
>>> -John
>>>
>>> On Nov 4, 2008, at 3:01 PM, Francesc Bruguera wrote:
>>>
>>> Do you know how can I do it?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ________________________________
>>>> De: John Martyniak <jo...@beforedawn.com>
>>>> Para: nutch-user@lucene.apache.org
>>>> Enviado: martes, 4 de noviembre, 2008 20:57:39
>>>> Asunto: Re: Parase nutch results
>>>>
>>>> A way that you can do it, is to treat the Nutch Open Search  
>>>> Client as
>>>> a web service, and have your PHP app call that and utilize the
>>>> resulting RSS XML to post your results.
>>>>
>>>> -John
>>>>
>>>> On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:
>>>>
>>>> Hello.
>>>>>
>>>>> What do you use to parase the results that you get with Nutch.
>>>>> Do you know any Nutch OpenSearch Client that uses PHP?
>>>>> Or a PHP library?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
>
> -- 
> Best Regards,
> Jianheng Qiu
> kinhunt@gmail.com
>
>
>


Re: Parase nutch results

Posted by Francesc Bruguera <fr...@yahoo.es>.
Ok,
I'll do it with magpierss-0.72 library for PHP

Thanks





________________________________
De: Jianheng Qiu <ki...@gmail.com>
Para: nutch-user@lucene.apache.org
Enviado: miércoles, 5 de noviembre, 2008 1:58:53
Asunto: Re: Parase nutch results

RSS is a practical method. But if you dont want to run two web servers nor
install a JVM in your host. You can copy the index generated by nutch to
your host and use the ZEND Lucene liberary to parse the index.



On Wed, Nov 5, 2008 at 4:17 AM, John Martyniak <jo...@beforedawn.com> wrote:

> You will have to use something like curl or fopen, and pass it the url of
> your nutch application server.  It will pass the RSS xml stream back.  Which
> you can then process.
>
> -John
>
>
> On Nov 4, 2008, at 3:08 PM, Francesc Bruguera wrote:
>
>  I mean...
>>
>> How to call with my php app?
>>
>>
>>
>>
>> ________________________________
>> De: John Martyniak <jo...@beforedawn.com>
>> Para: nutch-user@lucene.apache.org
>> Enviado: martes, 4 de noviembre, 2008 21:05:08
>> Asunto: Re: Parase nutch results
>>
>> Well the Nutch open Search util does have the ability to return
>> results in RSS XML.
>>
>> Have you installed nutch and have it running, including the Tomcat part?
>>
>> if you have then the link is on the results page, and you can just
>> call that from your php app.
>>
>> -John
>>
>> On Nov 4, 2008, at 3:01 PM, Francesc Bruguera wrote:
>>
>>  Do you know how can I do it?
>>>
>>>
>>>
>>>
>>>
>>> ________________________________
>>> De: John Martyniak <jo...@beforedawn.com>
>>> Para: nutch-user@lucene.apache.org
>>> Enviado: martes, 4 de noviembre, 2008 20:57:39
>>> Asunto: Re: Parase nutch results
>>>
>>> A way that you can do it, is to treat the Nutch Open Search Client as
>>> a web service, and have your PHP app call that and utilize the
>>> resulting RSS XML to post your results.
>>>
>>> -John
>>>
>>> On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:
>>>
>>>  Hello.
>>>>
>>>> What do you use to parase the results that you get with Nutch.
>>>> Do you know any Nutch OpenSearch Client that uses PHP?
>>>> Or a PHP library?
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>


-- 
Best Regards,
Jianheng Qiu
kinhunt@gmail.com



      

Re: Parase nutch results

Posted by Jianheng Qiu <ki...@gmail.com>.
RSS is a practical method. But if you dont want to run two web servers nor
install a JVM in your host. You can copy the index generated by nutch to
your host and use the ZEND Lucene liberary to parse the index.



On Wed, Nov 5, 2008 at 4:17 AM, John Martyniak <jo...@beforedawn.com> wrote:

> You will have to use something like curl or fopen, and pass it the url of
> your nutch application server.  It will pass the RSS xml stream back.  Which
> you can then process.
>
> -John
>
>
> On Nov 4, 2008, at 3:08 PM, Francesc Bruguera wrote:
>
>  I mean...
>>
>> How to call with my php app?
>>
>>
>>
>>
>> ________________________________
>> De: John Martyniak <jo...@beforedawn.com>
>> Para: nutch-user@lucene.apache.org
>> Enviado: martes, 4 de noviembre, 2008 21:05:08
>> Asunto: Re: Parase nutch results
>>
>> Well the Nutch open Search util does have the ability to return
>> results in RSS XML.
>>
>> Have you installed nutch and have it running, including the Tomcat part?
>>
>> if you have then the link is on the results page, and you can just
>> call that from your php app.
>>
>> -John
>>
>> On Nov 4, 2008, at 3:01 PM, Francesc Bruguera wrote:
>>
>>  Do you know how can I do it?
>>>
>>>
>>>
>>>
>>>
>>> ________________________________
>>> De: John Martyniak <jo...@beforedawn.com>
>>> Para: nutch-user@lucene.apache.org
>>> Enviado: martes, 4 de noviembre, 2008 20:57:39
>>> Asunto: Re: Parase nutch results
>>>
>>> A way that you can do it, is to treat the Nutch Open Search Client as
>>> a web service, and have your PHP app call that and utilize the
>>> resulting RSS XML to post your results.
>>>
>>> -John
>>>
>>> On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:
>>>
>>>  Hello.
>>>>
>>>> What do you use to parase the results that you get with Nutch.
>>>> Do you know any Nutch OpenSearch Client that uses PHP?
>>>> Or a PHP library?
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>


-- 
Best Regards,
Jianheng Qiu
kinhunt@gmail.com

Re: Parase nutch results

Posted by John Martyniak <jo...@beforedawn.com>.
You will have to use something like curl or fopen, and pass it the url  
of your nutch application server.  It will pass the RSS xml stream  
back.  Which you can then process.

-John

On Nov 4, 2008, at 3:08 PM, Francesc Bruguera wrote:

> I mean...
>
> How to call with my php app?
>
>
>
>
> ________________________________
> De: John Martyniak <jo...@beforedawn.com>
> Para: nutch-user@lucene.apache.org
> Enviado: martes, 4 de noviembre, 2008 21:05:08
> Asunto: Re: Parase nutch results
>
> Well the Nutch open Search util does have the ability to return
> results in RSS XML.
>
> Have you installed nutch and have it running, including the Tomcat  
> part?
>
> if you have then the link is on the results page, and you can just
> call that from your php app.
>
> -John
>
> On Nov 4, 2008, at 3:01 PM, Francesc Bruguera wrote:
>
>> Do you know how can I do it?
>>
>>
>>
>>
>>
>> ________________________________
>> De: John Martyniak <jo...@beforedawn.com>
>> Para: nutch-user@lucene.apache.org
>> Enviado: martes, 4 de noviembre, 2008 20:57:39
>> Asunto: Re: Parase nutch results
>>
>> A way that you can do it, is to treat the Nutch Open Search Client as
>> a web service, and have your PHP app call that and utilize the
>> resulting RSS XML to post your results.
>>
>> -John
>>
>> On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:
>>
>>> Hello.
>>>
>>> What do you use to parase the results that you get with Nutch.
>>> Do you know any Nutch OpenSearch Client that uses PHP?
>>> Or a PHP library?
>>>
>>> Thanks
>>>
>>>
>>>
>>
>>
>
>


Re: Parase nutch results

Posted by Francesc Bruguera <fr...@yahoo.es>.
I mean...

How to call with my php app?




________________________________
De: John Martyniak <jo...@beforedawn.com>
Para: nutch-user@lucene.apache.org
Enviado: martes, 4 de noviembre, 2008 21:05:08
Asunto: Re: Parase nutch results

Well the Nutch open Search util does have the ability to return  
results in RSS XML.

Have you installed nutch and have it running, including the Tomcat part?

if you have then the link is on the results page, and you can just  
call that from your php app.

-John

On Nov 4, 2008, at 3:01 PM, Francesc Bruguera wrote:

> Do you know how can I do it?
>
>
>
>
>
> ________________________________
> De: John Martyniak <jo...@beforedawn.com>
> Para: nutch-user@lucene.apache.org
> Enviado: martes, 4 de noviembre, 2008 20:57:39
> Asunto: Re: Parase nutch results
>
> A way that you can do it, is to treat the Nutch Open Search Client as
> a web service, and have your PHP app call that and utilize the
> resulting RSS XML to post your results.
>
> -John
>
> On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:
>
>> Hello.
>>
>> What do you use to parase the results that you get with Nutch.
>> Do you know any Nutch OpenSearch Client that uses PHP?
>> Or a PHP library?
>>
>> Thanks
>>
>>
>>
>
>


      

Re: Parase nutch results

Posted by John Martyniak <jo...@beforedawn.com>.
Well the Nutch open Search util does have the ability to return  
results in RSS XML.

Have you installed nutch and have it running, including the Tomcat part?

if you have then the link is on the results page, and you can just  
call that from your php app.

-John

On Nov 4, 2008, at 3:01 PM, Francesc Bruguera wrote:

> Do you know how can I do it?
>
>
>
>
>
> ________________________________
> De: John Martyniak <jo...@beforedawn.com>
> Para: nutch-user@lucene.apache.org
> Enviado: martes, 4 de noviembre, 2008 20:57:39
> Asunto: Re: Parase nutch results
>
> A way that you can do it, is to treat the Nutch Open Search Client as
> a web service, and have your PHP app call that and utilize the
> resulting RSS XML to post your results.
>
> -John
>
> On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:
>
>> Hello.
>>
>> What do you use to parase the results that you get with Nutch.
>> Do you know any Nutch OpenSearch Client that uses PHP?
>> Or a PHP library?
>>
>> Thanks
>>
>>
>>
>
>


Re: Parase nutch results

Posted by Francesc Bruguera <fr...@yahoo.es>.
Do you know how can I do it?





________________________________
De: John Martyniak <jo...@beforedawn.com>
Para: nutch-user@lucene.apache.org
Enviado: martes, 4 de noviembre, 2008 20:57:39
Asunto: Re: Parase nutch results

A way that you can do it, is to treat the Nutch Open Search Client as  
a web service, and have your PHP app call that and utilize the  
resulting RSS XML to post your results.

-John

On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:

> Hello.
>
> What do you use to parase the results that you get with Nutch.
> Do you know any Nutch OpenSearch Client that uses PHP?
> Or a PHP library?
>
> Thanks
>
>
>


      

Re: Parase nutch results

Posted by John Martyniak <jo...@beforedawn.com>.
A way that you can do it, is to treat the Nutch Open Search Client as  
a web service, and have your PHP app call that and utilize the  
resulting RSS XML to post your results.

-John

On Nov 4, 2008, at 2:52 PM, Francesc Bruguera wrote:

> Hello.
>
> What do you use to parase the results that you get with Nutch.
> Do you know any Nutch OpenSearch Client that uses PHP?
> Or a PHP library?
>
> Thanks
>
>
>