Nutch 1.15: Solr indexing issue

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Nutch 1.15: Solr indexing issue

hany.nasr
Hi All,

Anyone is using Nutch 1.15?

I am trying to index my crawled urls into Solr but it is indexing only for http://localhost:8983/solr/nutch. Is it hard coded somewhere in the code?

When I created a nutch core, my urls are indexed into it and ignored my solr.server.url property.

My crawl command is:

sudo bin/crawl -i -D solr.server.url=http://localhost:8983/solr/website -s urls /home/hany.nasr/apache-nutch-1.15/crawl 1

Kind regards,
Hany Shehata
Solutions Architect, Marketing and Communications IT
Corporate Functions | HSBC Operations, Services and Technology (HOST)
ul. Kapelanka 42A, 30-347 Kraków, Poland
__________________________________________________________________

Tie line: 7148 7689 4698
External: +48 123 42 0698
Mobile: +48 723 680 278
E-mail: [hidden email]<mailto:[hidden email]>
__________________________________________________________________
Protect our environment - please only print this if you have to!



-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!

This E-mail is confidential.  

It may also be legally privileged. If you are not the addressee you may not copy,
forward, disclose or use any part of it. If you have received this message in error,
please delete it and all copies from your system and notify the sender immediately by
return E-mail.

Internet communications cannot be guaranteed to be timely secure, error or virus-free.
The sender does not accept liability for any errors or omissions.
Reply | Threaded
Open this post in threaded view
|

RE: Nutch 1.15: Solr indexing issue

Yossi Tamari
I'm using 1.15, but not with Solr. However, the configuration of IndexWriters changed in 1.15, you may want to read https://wiki.apache.org/nutch/IndexWriters#Solr_indexer_properties.

Yossi.

> -----Original Message-----
> From: [hidden email] <[hidden email]>
> Sent: 11 October 2018 10:20
> To: [hidden email]
> Subject: Nutch 1.15: Solr indexing issue
>
> Hi All,
>
> Anyone is using Nutch 1.15?
>
> I am trying to index my crawled urls into Solr but it is indexing only for
> http://localhost:8983/solr/nutch. Is it hard coded somewhere in the code?
>
> When I created a nutch core, my urls are indexed into it and ignored my
> solr.server.url property.
>
> My crawl command is:
>
> sudo bin/crawl -i -D solr.server.url=http://localhost:8983/solr/website -s urls
> /home/hany.nasr/apache-nutch-1.15/crawl 1
>
> Kind regards,
> Hany Shehata
> Solutions Architect, Marketing and Communications IT Corporate Functions |
> HSBC Operations, Services and Technology (HOST) ul. Kapelanka 42A, 30-347
> Kraków, Poland
> _________________________________________________________________
> _
>
> Tie line: 7148 7689 4698
> External: +48 123 42 0698
> Mobile: +48 723 680 278
> E-mail: [hidden email]<mailto:[hidden email]>
> _________________________________________________________________
> _
> Protect our environment - please only print this if you have to!
>
>
>
> -----------------------------------------
> SAVE PAPER - THINK BEFORE YOU PRINT!
>
> This E-mail is confidential.
>
> It may also be legally privileged. If you are not the addressee you may not copy,
> forward, disclose or use any part of it. If you have received this message in
> error, please delete it and all copies from your system and notify the sender
> immediately by return E-mail.
>
> Internet communications cannot be guaranteed to be timely secure, error or
> virus-free.
> The sender does not accept liability for any errors or omissions.

Reply | Threaded
Open this post in threaded view
|

RE: Nutch 1.15: Solr indexing issue

hany.nasr
Thank you so much.

They changed it dramatically.
It is not accepting solr.server.url anymore and even old solr mapping xml file. Everything now under IndexWriter.xml

Kind regards,
Hany Shehata
Solutions Architect, Marketing and Communications IT
Corporate Functions | HSBC Operations, Services and Technology (HOST)
ul. Kapelanka 42A, 30-347 Kraków, Poland
__________________________________________________________________ 

Tie line: 7148 7689 4698
External: +48 123 42 0698
Mobile: +48 723 680 278
E-mail: [hidden email] 
__________________________________________________________________ 
Protect our environment - please only print this if you have to!


-----Original Message-----
From: Yossi Tamari [mailto:[hidden email]]
Sent: Thursday, October 11, 2018 9:33 AM
To: [hidden email]
Subject: RE: Nutch 1.15: Solr indexing issue

I'm using 1.15, but not with Solr. However, the configuration of IndexWriters changed in 1.15, you may want to read https://wiki.apache.org/nutch/IndexWriters#Solr_indexer_properties.

Yossi.

> -----Original Message-----
> From: [hidden email] <[hidden email]>
> Sent: 11 October 2018 10:20
> To: [hidden email]
> Subject: Nutch 1.15: Solr indexing issue
>
> Hi All,
>
> Anyone is using Nutch 1.15?
>
> I am trying to index my crawled urls into Solr but it is indexing only
> for http://localhost:8983/solr/nutch. Is it hard coded somewhere in the code?
>
> When I created a nutch core, my urls are indexed into it and ignored
> my solr.server.url property.
>
> My crawl command is:
>
> sudo bin/crawl -i -D
> solr.server.url=http://localhost:8983/solr/website -s urls
> /home/hany.nasr/apache-nutch-1.15/crawl 1
>
> Kind regards,
> Hany Shehata
> Solutions Architect, Marketing and Communications IT Corporate
> Functions | HSBC Operations, Services and Technology (HOST) ul.
> Kapelanka 42A, 30-347 Kraków, Poland
> _________________________________________________________________
> _
>
> Tie line: 7148 7689 4698
> External: +48 123 42 0698
> Mobile: +48 723 680 278
> E-mail: [hidden email]<mailto:[hidden email]>
> _________________________________________________________________
> _
> Protect our environment - please only print this if you have to!
>
>
>
> -----------------------------------------
> SAVE PAPER - THINK BEFORE YOU PRINT!
>
> This E-mail is confidential.
>
> It may also be legally privileged. If you are not the addressee you
> may not copy, forward, disclose or use any part of it. If you have
> received this message in error, please delete it and all copies from
> your system and notify the sender immediately by return E-mail.
>
> Internet communications cannot be guaranteed to be timely secure,
> error or virus-free.
> The sender does not accept liability for any errors or omissions.



***************************************************
This message originated from the Internet. Its originator may or may not be who they claim to be and the information contained in the message and any attachments may or may not be accurate.
****************************************************

 


-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!

This E-mail is confidential.  

It may also be legally privileged. If you are not the addressee you may not copy,
forward, disclose or use any part of it. If you have received this message in error,
please delete it and all copies from your system and notify the sender immediately by
return E-mail.

Internet communications cannot be guaranteed to be timely secure, error or virus-free.
The sender does not accept liability for any errors or omissions.