You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Claudio Martella <cl...@tis.bz.it> on 2010/01/27 18:47:34 UTC

url normalization

Hello,

i'm crawling our intranet site, i see that the default configuration
normalizes urls removing '?', which means no queries. This is basically
saying that you crawl just static data. most of our table-based sites
are handled with paging with '? and = ' queries, like 99% out there.
What is the rationale behind this choice then?

TIA

/CM

-- 
Claudio Martella
Digital Technologies
Unit Research & Development - Analyst

TIS innovation park
Via Siemens 19 | Siemensstr. 19
39100 Bolzano | 39100 Bozen
Tel. +39 0471 068 123
Fax  +39 0471 068 129
claudio.martella@tis.bz.it http://www.tis.bz.it

Short information regarding use of personal data. According to Section 13 of Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we process your personal data in order to fulfil contractual and fiscal obligations and also to send you information regarding our services and events. Your personal data are processed with and without electronic means and by respecting data subjects' rights, fundamental freedoms and dignity, particularly with regard to confidentiality, personal identity and the right to personal data protection. At any time and without formalities you can write an e-mail to privacy@tis.bz.it in order to object the processing of your personal data for the purpose of sending advertising materials and also to exercise the right to access personal data and other rights referred to in Section 7 of Decree 196/2003. The data controller is TIS Techno Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find the complete information on the web site www.tis.bz.it.



Re: url normalization

Posted by Claudio Martella <cl...@tis.bz.it>.
I do understand this problem. But then, how do you handle this? avoiding
completely the queries is suicide. Google indexes queries. How do you
think it can do it?


Jesse Hires wrote:
> This also prevents things like over indexing generated calendars where the
> next day/month/year link will always produce output no matter how far it
> goes.
>
>
> Jesse
>
> int GetRandomNumber()
> {
>    return 4; // Chosen by fair roll of dice
>                 // Guaranteed to be random
> } // xkcd.com
>
>
>
> On Wed, Jan 27, 2010 at 12:28 PM, Claudio Martella <
> claudio.martella@tis.bz.it> wrote:
>
>   
>> Ken Krugler wrote:
>>     
>>> On Jan 27, 2010, at 9:47am, Claudio Martella wrote:
>>>
>>>       
>>>> Hello,
>>>>
>>>> i'm crawling our intranet site, i see that the default configuration
>>>> normalizes urls removing '?', which means no queries. This is basically
>>>> saying that you crawl just static data. most of our table-based sites
>>>> are handled with paging with '? and = ' queries, like 99% out there.
>>>> What is the rationale behind this choice then?
>>>>         
>>> If you don't exclude queries, you can get a huge number of URLs that
>>> point to the same content, but have different query parameters.
>>>       
>> that is why there's the md5 duplicate removal code, right?
>>
>>     
>>> But I agree, these days many sites rely on query parameters to get to
>>> specific content, so having this normalization enabled by default is odd.
>>>
>>> -- Ken
>>>
>>>
>>>       
>>>> Claudio Martella
>>>> Digital Technologies
>>>> Unit Research & Development - Analyst
>>>>
>>>> TIS innovation park
>>>> Via Siemens 19 | Siemensstr. 19
>>>> 39100 Bolzano | 39100 Bozen
>>>> Tel. +39 0471 068 123
>>>> Fax  +39 0471 068 129
>>>> claudio.martella@tis.bz.it http://www.tis.bz.it
>>>>         
>>> --------------------------------------------
>>> Ken Krugler
>>> +1 530-210-6378
>>> http://bixolabs.com
>>> e l a s t i c   w e b   m i n i n g
>>>
>>>
>>>
>>>
>>>
>>>       
>> --
>> Claudio Martella
>> Digital Technologies
>> Unit Research & Development - Analyst
>>
>> TIS innovation park
>> Via Siemens 19 | Siemensstr. 19
>> 39100 Bolzano | 39100 Bozen
>> Tel. +39 0471 068 123
>> Fax  +39 0471 068 129
>> claudio.martella@tis.bz.it http://www.tis.bz.it
>>
>> Short information regarding use of personal data. According to Section 13
>> of Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we
>> process your personal data in order to fulfil contractual and fiscal
>> obligations and also to send you information regarding our services and
>> events. Your personal data are processed with and without electronic means
>> and by respecting data subjects' rights, fundamental freedoms and dignity,
>> particularly with regard to confidentiality, personal identity and the right
>> to personal data protection. At any time and without formalities you can
>> write an e-mail to privacy@tis.bz.it in order to object the processing of
>> your personal data for the purpose of sending advertising materials and also
>> to exercise the right to access personal data and other rights referred to
>> in Section 7 of Decree 196/2003. The data controller is TIS Techno
>> Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find the
>> complete information on the web site www.tis.bz.it.
>>
>>
>>
>>     
>
>   


-- 
Claudio Martella
Digital Technologies
Unit Research & Development - Analyst

TIS innovation park
Via Siemens 19 | Siemensstr. 19
39100 Bolzano | 39100 Bozen
Tel. +39 0471 068 123
Fax  +39 0471 068 129
claudio.martella@tis.bz.it http://www.tis.bz.it

Short information regarding use of personal data. According to Section 13 of Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we process your personal data in order to fulfil contractual and fiscal obligations and also to send you information regarding our services and events. Your personal data are processed with and without electronic means and by respecting data subjects' rights, fundamental freedoms and dignity, particularly with regard to confidentiality, personal identity and the right to personal data protection. At any time and without formalities you can write an e-mail to privacy@tis.bz.it in order to object the processing of your personal data for the purpose of sending advertising materials and also to exercise the right to access personal data and other rights referred to in Section 7 of Decree 196/2003. The data controller is TIS Techno Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find the complete information on the web site www.tis.bz.it.



Re: url normalization

Posted by Jesse Hires <jh...@gmail.com>.
This also prevents things like over indexing generated calendars where the
next day/month/year link will always produce output no matter how far it
goes.


Jesse

int GetRandomNumber()
{
   return 4; // Chosen by fair roll of dice
                // Guaranteed to be random
} // xkcd.com



On Wed, Jan 27, 2010 at 12:28 PM, Claudio Martella <
claudio.martella@tis.bz.it> wrote:

> Ken Krugler wrote:
> >
> > On Jan 27, 2010, at 9:47am, Claudio Martella wrote:
> >
> >> Hello,
> >>
> >> i'm crawling our intranet site, i see that the default configuration
> >> normalizes urls removing '?', which means no queries. This is basically
> >> saying that you crawl just static data. most of our table-based sites
> >> are handled with paging with '? and = ' queries, like 99% out there.
> >> What is the rationale behind this choice then?
> >
> > If you don't exclude queries, you can get a huge number of URLs that
> > point to the same content, but have different query parameters.
>
> that is why there's the md5 duplicate removal code, right?
>
> >
> > But I agree, these days many sites rely on query parameters to get to
> > specific content, so having this normalization enabled by default is odd.
> >
> > -- Ken
> >
> >
> >> Claudio Martella
> >> Digital Technologies
> >> Unit Research & Development - Analyst
> >>
> >> TIS innovation park
> >> Via Siemens 19 | Siemensstr. 19
> >> 39100 Bolzano | 39100 Bozen
> >> Tel. +39 0471 068 123
> >> Fax  +39 0471 068 129
> >> claudio.martella@tis.bz.it http://www.tis.bz.it
> >
> > --------------------------------------------
> > Ken Krugler
> > +1 530-210-6378
> > http://bixolabs.com
> > e l a s t i c   w e b   m i n i n g
> >
> >
> >
> >
> >
>
>
> --
> Claudio Martella
> Digital Technologies
> Unit Research & Development - Analyst
>
> TIS innovation park
> Via Siemens 19 | Siemensstr. 19
> 39100 Bolzano | 39100 Bozen
> Tel. +39 0471 068 123
> Fax  +39 0471 068 129
> claudio.martella@tis.bz.it http://www.tis.bz.it
>
> Short information regarding use of personal data. According to Section 13
> of Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we
> process your personal data in order to fulfil contractual and fiscal
> obligations and also to send you information regarding our services and
> events. Your personal data are processed with and without electronic means
> and by respecting data subjects' rights, fundamental freedoms and dignity,
> particularly with regard to confidentiality, personal identity and the right
> to personal data protection. At any time and without formalities you can
> write an e-mail to privacy@tis.bz.it in order to object the processing of
> your personal data for the purpose of sending advertising materials and also
> to exercise the right to access personal data and other rights referred to
> in Section 7 of Decree 196/2003. The data controller is TIS Techno
> Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find the
> complete information on the web site www.tis.bz.it.
>
>
>

Re: url normalization

Posted by Claudio Martella <cl...@tis.bz.it>.
Ken Krugler wrote:
>
> On Jan 27, 2010, at 9:47am, Claudio Martella wrote:
>
>> Hello,
>>
>> i'm crawling our intranet site, i see that the default configuration
>> normalizes urls removing '?', which means no queries. This is basically
>> saying that you crawl just static data. most of our table-based sites
>> are handled with paging with '? and = ' queries, like 99% out there.
>> What is the rationale behind this choice then?
>
> If you don't exclude queries, you can get a huge number of URLs that
> point to the same content, but have different query parameters.

that is why there's the md5 duplicate removal code, right?

>
> But I agree, these days many sites rely on query parameters to get to
> specific content, so having this normalization enabled by default is odd.
>
> -- Ken
>
>
>> Claudio Martella
>> Digital Technologies
>> Unit Research & Development - Analyst
>>
>> TIS innovation park
>> Via Siemens 19 | Siemensstr. 19
>> 39100 Bolzano | 39100 Bozen
>> Tel. +39 0471 068 123
>> Fax  +39 0471 068 129
>> claudio.martella@tis.bz.it http://www.tis.bz.it
>
> --------------------------------------------
> Ken Krugler
> +1 530-210-6378
> http://bixolabs.com
> e l a s t i c   w e b   m i n i n g
>
>
>
>
>


-- 
Claudio Martella
Digital Technologies
Unit Research & Development - Analyst

TIS innovation park
Via Siemens 19 | Siemensstr. 19
39100 Bolzano | 39100 Bozen
Tel. +39 0471 068 123
Fax  +39 0471 068 129
claudio.martella@tis.bz.it http://www.tis.bz.it

Short information regarding use of personal data. According to Section 13 of Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we process your personal data in order to fulfil contractual and fiscal obligations and also to send you information regarding our services and events. Your personal data are processed with and without electronic means and by respecting data subjects' rights, fundamental freedoms and dignity, particularly with regard to confidentiality, personal identity and the right to personal data protection. At any time and without formalities you can write an e-mail to privacy@tis.bz.it in order to object the processing of your personal data for the purpose of sending advertising materials and also to exercise the right to access personal data and other rights referred to in Section 7 of Decree 196/2003. The data controller is TIS Techno Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find the complete information on the web site www.tis.bz.it.



Re: url normalization

Posted by Ken Krugler <kk...@transpac.com>.
On Jan 27, 2010, at 9:47am, Claudio Martella wrote:

> Hello,
>
> i'm crawling our intranet site, i see that the default configuration
> normalizes urls removing '?', which means no queries. This is  
> basically
> saying that you crawl just static data. most of our table-based sites
> are handled with paging with '? and = ' queries, like 99% out there.
> What is the rationale behind this choice then?

If you don't exclude queries, you can get a huge number of URLs that  
point to the same content, but have different query parameters.

But I agree, these days many sites rely on query parameters to get to  
specific content, so having this normalization enabled by default is  
odd.

-- Ken


> Claudio Martella
> Digital Technologies
> Unit Research & Development - Analyst
>
> TIS innovation park
> Via Siemens 19 | Siemensstr. 19
> 39100 Bolzano | 39100 Bozen
> Tel. +39 0471 068 123
> Fax  +39 0471 068 129
> claudio.martella@tis.bz.it http://www.tis.bz.it

--------------------------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c   w e b   m i n i n g