You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Yves Yu <yv...@gmail.com> on 2009/03/03 16:22:58 UTC
why I cannot find this link?
Hi, all,
I met a situation, need help, thank you in advance.
I added
http://app02.laopdr.gov.la/
into urls.txt
nutch can find
http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
but nutch cannot find
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
anybody has any idea?
Yves
Re: what is needed to index for about 10000 domains
Posted by al...@aim.com.
hi,
put this
<property>
? <name>fetcher.store.content</name>
? <value>false</value>
? <description>If true, fetcher will store content.</description>
</property>
in your config file.
Alex.
-----Original Message-----
From: Mayank Kamthan <mk...@gmail.com>
To: nutch-user@lucene.apache.org
Sent: Thu, 5 Mar 2009 1:24 pm
Subject: Re: what is needed to index for about 10000 domains
Hi Alxsss,
How can we disable storing of contents of pages?
Regards,
Mayank.
On Wed, Mar 4, 2009 at 9:57 AM, <al...@aim.com> wrote:
>
> Hi,
>
> I also noticed that we can disable storing content of pages which I use. I
> wonder why someone needs to store content? Also, in case of files, is there
> a way to tell nutch not to download the whole file but let say 1000 bytes
> from the beginning and parse and index information only in that part of
> files?
>
> Thanks.
> A.
>
>
>
>
>
>
>
> -----Original Message-----
> From: yanky young <ya...@gmail.com>
> To: nutch-user@lucene.apache.org
> Sent: Tue, 3 Mar 2009 6:41 pm
> Subject: Re: what is needed to index for about 10000 domains
>
>
>
>
>
>
>
>
>
>
> Hi:
>
> Dog cutting has ever write a wiki about hardware requirement of nutch, you
> can check it out
>
> http://wiki.apache.org/nutch/HardwareRequirements
>
> good luck
>
> yanky
>
>
> 2009/3/4 John Martyniak <jo...@beforedawn.com>
>
> > Regarding the machine, you could run it on anything, it all depends what
> > kind of performance you want. So yes you could run it on the machine
> that
> > you have or something like the linux machine that I have. And the DSL
> > connection should be fine, you just need to make sure that it stays up
> the
> > whole time, because if not it will start erring out, and you will have to
> > re-fetch that whole segment as there is no way to pick up from where you
> > left off.
> >
> > The only reason that I merged the segments was that I had many of them,
> and
> > I wanted to build a big one before I started creating new ones, another
> > advantage of merging is that you can use that to clear out unwanted urls.
> > For example I had a bunch of .js files in there, that I didn't want to
> have
> > as part of the index, so I cleared them out.
> >
> > I used "bin/nutch mergesegs".
> >
> > Regarding merging the other parts, I have never used, but I don't think
> > that it is necessary unless you have multiple linkdbs, etc. in my case I
> do
> > not.
> >
> > -John
> >
> >
> >
> >
> > On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
> >
> >
> >> Hi,
> >>
> >> I will need to index all links in domains then. What do you think a
> linux
> >> box like yours with DSL connection is OK to index the domains I have?
> >>
> >> Why only segments? I thought we need to merge all sub folders under
> crawl
> >> folder. What did you use for merging them?
> >>
> >> Thanks.
> >> A.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: John Martyniak <jo...@beforedawn.com>
> >> To: nutch-user@lucene.apache.org
> >> Sent: Tue, 3 Mar 2009 3:21 pm
> >> Subject: Re: what is needed to index for about 10000 domains
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Well the way that nutch works is that you would inject your list of
> >> domains into the DB, and that would be the starting point. Since nutch
> uses
> >> a crawler it would grab those pages, and determine if there are any
> links on
> >> those pages, and then add them to the DB. So the next time that you
> >> generated your urls to fetch, it would take your original list, plus the
> >> ones that it found to generate the new segment.?
> >> ?
> >>
> >> If you wanted to limit it to only pages contained on your 10000 domains,
> >> you could use the regex-urlfilter.txt file in the conf directory to
> limit it
> >> to your list. But you would have to create a regular expression for
> each
> >> one.?
> >> ?
> >>
> >> I am not familiar with the merge script on the wiki, but have merged
> >> segments before and it did work. But that was on Linux, don't think
> that
> >> should make a difference though.?
> >> ?
> >>
> >> -John?
> >> ?
> >>
> >> ?
> >>
> >> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
> >> ?
> >>
> >> ?
> >>>
> >>
> >> Hi,?
> >>>
> >>
> >> ?
> >>>
> >>
> >> Thanks for the reply. I have list? of those domains only. I am not >
> sure
> >>> how many pages they have. Is a DSL? connection sufficient to > run
> nutch in
> >>> my case. Did you run nutch for all of your pages at > once or
> separately for
> >>> a given subset of them. Btw, yesterday I > tried to use merge shell
> script
> >>> that we have on wiki. It gave a lot > of errors. I run it on cygwin
> though.?
> >>>
> >>
> >> ?
> >>>
> >>
> >> Thanks.?
> >>>
> >>
> >> A.?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> -----Original Message-----?
> >>>
> >>
> >> From: John Martyniak <jo...@beforedawn.com>?
> >>>
> >>
> >> To: nutch-user@lucene.apache.org?
> >>>
> >>
> >> Sent: Tue, 3 Mar 2009 1:44 pm?
> >>>
> >>
> >> Subject: Re: what is needed to index for about 10000 domains?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> I think that in order to answer that questions, it is necessary to >
> know
> >>> how many total pages are being indexed.??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> I currently have ~3.5 million pages indexed, and the segment >
> >>> directories are around 45GB, The response time is relatively fast.??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> In the test site it is running on a dual processor Dell 1850 with > 3GB
> >>> of RAM.??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> -John??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> Hello,??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> ??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> I use nutch-0.9 and need to index about 10000? domains.? I want to >> >
> >>>> know? minimum requirements to hardware and memory.??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> ??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> Thanks in advance.??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> Alex.??
> >>>>
> >>>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >> ?
> >>
> >>
> >>
> >>
> >>
> >>
> >
>
>
>
>
>
>
--
Mayank Kamthan
Re: what is needed to index for about 10000 domains
Posted by Mayank Kamthan <mk...@gmail.com>.
Hi Alxsss,
How can we disable storing of contents of pages?
Regards,
Mayank.
On Wed, Mar 4, 2009 at 9:57 AM, <al...@aim.com> wrote:
>
> Hi,
>
> I also noticed that we can disable storing content of pages which I use. I
> wonder why someone needs to store content? Also, in case of files, is there
> a way to tell nutch not to download the whole file but let say 1000 bytes
> from the beginning and parse and index information only in that part of
> files?
>
> Thanks.
> A.
>
>
>
>
>
>
>
> -----Original Message-----
> From: yanky young <ya...@gmail.com>
> To: nutch-user@lucene.apache.org
> Sent: Tue, 3 Mar 2009 6:41 pm
> Subject: Re: what is needed to index for about 10000 domains
>
>
>
>
>
>
>
>
>
>
> Hi:
>
> Dog cutting has ever write a wiki about hardware requirement of nutch, you
> can check it out
>
> http://wiki.apache.org/nutch/HardwareRequirements
>
> good luck
>
> yanky
>
>
> 2009/3/4 John Martyniak <jo...@beforedawn.com>
>
> > Regarding the machine, you could run it on anything, it all depends what
> > kind of performance you want. So yes you could run it on the machine
> that
> > you have or something like the linux machine that I have. And the DSL
> > connection should be fine, you just need to make sure that it stays up
> the
> > whole time, because if not it will start erring out, and you will have to
> > re-fetch that whole segment as there is no way to pick up from where you
> > left off.
> >
> > The only reason that I merged the segments was that I had many of them,
> and
> > I wanted to build a big one before I started creating new ones, another
> > advantage of merging is that you can use that to clear out unwanted urls.
> > For example I had a bunch of .js files in there, that I didn't want to
> have
> > as part of the index, so I cleared them out.
> >
> > I used "bin/nutch mergesegs".
> >
> > Regarding merging the other parts, I have never used, but I don't think
> > that it is necessary unless you have multiple linkdbs, etc. in my case I
> do
> > not.
> >
> > -John
> >
> >
> >
> >
> > On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
> >
> >
> >> Hi,
> >>
> >> I will need to index all links in domains then. What do you think a
> linux
> >> box like yours with DSL connection is OK to index the domains I have?
> >>
> >> Why only segments? I thought we need to merge all sub folders under
> crawl
> >> folder. What did you use for merging them?
> >>
> >> Thanks.
> >> A.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: John Martyniak <jo...@beforedawn.com>
> >> To: nutch-user@lucene.apache.org
> >> Sent: Tue, 3 Mar 2009 3:21 pm
> >> Subject: Re: what is needed to index for about 10000 domains
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Well the way that nutch works is that you would inject your list of
> >> domains into the DB, and that would be the starting point. Since nutch
> uses
> >> a crawler it would grab those pages, and determine if there are any
> links on
> >> those pages, and then add them to the DB. So the next time that you
> >> generated your urls to fetch, it would take your original list, plus the
> >> ones that it found to generate the new segment.?
> >> ?
> >>
> >> If you wanted to limit it to only pages contained on your 10000 domains,
> >> you could use the regex-urlfilter.txt file in the conf directory to
> limit it
> >> to your list. But you would have to create a regular expression for
> each
> >> one.?
> >> ?
> >>
> >> I am not familiar with the merge script on the wiki, but have merged
> >> segments before and it did work. But that was on Linux, don't think
> that
> >> should make a difference though.?
> >> ?
> >>
> >> -John?
> >> ?
> >>
> >> ?
> >>
> >> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
> >> ?
> >>
> >> ?
> >>>
> >>
> >> Hi,?
> >>>
> >>
> >> ?
> >>>
> >>
> >> Thanks for the reply. I have list? of those domains only. I am not >
> sure
> >>> how many pages they have. Is a DSL? connection sufficient to > run
> nutch in
> >>> my case. Did you run nutch for all of your pages at > once or
> separately for
> >>> a given subset of them. Btw, yesterday I > tried to use merge shell
> script
> >>> that we have on wiki. It gave a lot > of errors. I run it on cygwin
> though.?
> >>>
> >>
> >> ?
> >>>
> >>
> >> Thanks.?
> >>>
> >>
> >> A.?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> -----Original Message-----?
> >>>
> >>
> >> From: John Martyniak <jo...@beforedawn.com>?
> >>>
> >>
> >> To: nutch-user@lucene.apache.org?
> >>>
> >>
> >> Sent: Tue, 3 Mar 2009 1:44 pm?
> >>>
> >>
> >> Subject: Re: what is needed to index for about 10000 domains?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> I think that in order to answer that questions, it is necessary to >
> know
> >>> how many total pages are being indexed.??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> I currently have ~3.5 million pages indexed, and the segment >
> >>> directories are around 45GB, The response time is relatively fast.??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> In the test site it is running on a dual processor Dell 1850 with > 3GB
> >>> of RAM.??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> -John??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
> >>>
> >>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> Hello,??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> ??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> I use nutch-0.9 and need to index about 10000? domains.? I want to >> >
> >>>> know? minimum requirements to hardware and memory.??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> ??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> Thanks in advance.??
> >>>>
> >>>
> >> ?
> >>>
> >>
> >> Alex.??
> >>>>
> >>>
> >> ??
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >>
> >> ?
> >>>
> >> ?
> >>
> >>
> >>
> >>
> >>
> >>
> >
>
>
>
>
>
>
--
Mayank Kamthan
Re: what is needed to index for about 10000 domains
Posted by al...@aim.com.
What if we ask it to download 1000 bytes from beginning and the same amount from the end and ignore the rest??
I need this to index mp3 files, since their data are either at the top or end. My goal is to? have nutch not to spend time to download whole files.
Thanks.
A.
-----Original Message-----
From: Jasper Kamperman <ja...@openwaternet.com>
To: nutch-user@lucene.apache.org
Sent: Tue, 3 Mar 2009 10:56 pm
Subject: Re: what is needed to index for about 10000 domains
I don't think there is a standard way to tell Nutch to download the end of a file (since you have to download the beginning before you get to the end).?
?
But if I understand what you want, you could write a custom IndexFilter that indexes only the tail of a file, see http://wiki.apache.org/nutch/WritingPluginExample-0.9 for a start on how to do this.?
?
On Mar 3, 2009, at 8:48 PM, alxsss@aim.com wrote:?
?
>?
> I never tried to test this configuration. What about asking nutch to > download a certain amount of byes from the end of files??
>?
>?
>?
>?
>?
>?
>?
> -----Original Message-----?
> From: Jasper Kamperman <ja...@openwaternet.com>?
> To: nutch-user@lucene.apache.org?
> Sent: Tue, 3 Mar 2009 8:32 pm?
> Subject: Re: what is needed to index for about 10000 domains?
>?
>?
>?
>?
>?
>?
>?
>?
>?
> One reason to store content is if you want to show snippets in > search results.??
> ??
>?
> Another reason is if you want to have a "cached" feature where you > can give the user the page as it looked when you crawled it (it may > since have disappeared.??
> ??
>?
> There is a way to tell nutch to look at only the beginning of a > file, it's this section in your config.xml:??
> ??
>?
> <property>??
>?
> ? <name>file.content.limit</name>??
>?
> ? <value>65536</value>??
>?
> ? <description>The length limit for downloaded content, in bytes.??
>?
> ? If this value is nonnegative (>=0), content longer than it will be > truncated;??
>?
> ? otherwise, no truncation at all.??
>?
> ? </description>??
>?
> </property>??
> ??
>?
> this is from the nutch-default.xml in 0.9, don't know whether it has > changed in 1.0 .??
> ??
>?
> On Mar 3, 2009, at 8:27 PM, alxsss@aim.com wrote:??
> ??
>?
>> ??
>?
>> Hi,??
>?
>> ??
>?
>> I also noticed that we can disable storing content of pages which I >> > use. I wonder why someone needs to store content? Also, in case >> of > files, is there a way to tell nutch not to download the whole >> file > but let say 1000 bytes from the beginning and parse and >> index > information only in that part of files???
>?
>> ??
>?
>> Thanks.??
>?
>> A.??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> -----Original Message-----??
>?
>> From: yanky young <ya...@gmail.com>??
>?
>> To: nutch-user@lucene.apache.org??
>?
>> Sent: Tue, 3 Mar 2009 6:41 pm??
>?
>> Subject: Re: what is needed to index for about 10000 domains??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> Hi:??
>?
>> ??
>?
>> Dog cutting has ever write a wiki about hardware requirement of > >> nutch, you??
>?
>> can check it out??
>?
>> ??
>?
>> http://wiki.apache.org/nutch/HardwareRequirements??
>?
>> ??
>?
>> good luck??
>?
>> ??
>?
>> yanky??
>?
>> ??
>?
>> ??
>?
>> 2009/3/4 John Martyniak <jo...@beforedawn.com>??
>?
>> ??
>?
>>> Regarding the machine, you could run it on anything, it all >> >>> depends what??
>?
>>> kind of performance you want. So yes you could run it on the >> >>> machine that??
>?
>>> you have or something like the linux machine that I have. And the >>> >> DSL??
>?
>>> connection should be fine, you just need to make sure that it >>> stays >> up the??
>?
>>> whole time, because if not it will start erring out, and you will >>> >> have to??
>?
>>> re-fetch that whole segment as there is no way to pick up from >> >>> where you??
>?
>>> left off.??
>?
>>> ??
>?
>>> The only reason that I merged the segments was that I had many of >>> >> them, and??
>?
>>> I wanted to build a big one before I started creating new ones, >> >>> another??
>?
>>> advantage of merging is that you can use that to clear out >>> unwanted >> urls.??
>?
>>> For example I had a bunch of .js files in there, that I didn't >>> want >> to have??
>?
>>> as part of the index, so I cleared them out.??
>?
>>> ??
>?
>>> I used "bin/nutch mergesegs".??
>?
>>> ??
>?
>>> Regarding merging the other parts, I have never used, but I don't >>> >> think??
>?
>>> that it is necessary unless you have multiple linkdbs, etc. in my >>> >> case I do??
>?
>>> not.??
>?
>>> ??
>?
>>> -John??
>?
>>> ??
>?
>>> ??
>?
>>> ??
>?
>>> ??
>?
>>> On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:??
>?
>>> ??
>?
>>> ??
>?
>>>> Hi,??
>?
>>>> ??
>?
>>>> I will need to index all links in domains then. What do you think >>>> >>> a linux??
>?
>>>> box like yours with DSL connection is OK to index the domains I >>>> >>> have???
>?
>>>> ??
>?
>>>> Why only segments? I thought we need to merge all sub folders >>> >>>> under crawl??
>?
>>>> folder. What did you use for merging them???
>?
>>>> ??
>?
>>>> Thanks.??
>?
>>>> A.??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> -----Original Message-----??
>?
>>>> From: John Martyniak <jo...@beforedawn.com>??
>?
>>>> To: nutch-user@lucene.apache.org??
>?
>>>> Sent: Tue, 3 Mar 2009 3:21 pm??
>?
>>>> Subject: Re: what is needed to index for about 10000 domains??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> Well the way that nutch works is that you would inject your list >>>> of??
>?
>>>> domains into the DB, and that would be the starting point. Since >>>> >>> nutch uses??
>?
>>>> a crawler it would grab those pages, and determine if there are >>>> >>> any links on??
>?
>>>> those pages, and then add them to the DB. So the next time that >>>> you??
>?
>>>> generated your urls to fetch, it would take your original list, >>>> >>> plus the??
>?
>>>> ones that it found to generate the new segment.???
>?
>>>> ???
>?
>>>> ??
>?
>>>> If you wanted to limit it to only pages contained on your 10000 >>>> >>> domains,??
>?
>>>> you could use the regex-urlfilter.txt file in the conf directory >>>> >>> to limit it??
>?
>>>> to your list. But you would have to create a regular expression >>>> >>> for each??
>?
>>>> one.???
>?
>>>> ???
>?
>>>> ??
>?
>>>> I am not familiar with the merge script on the wiki, but have >>>> merged??
>?
>>>> segments before and it did work. But that was on Linux, don't >>>> >>> think that??
>?
>>>> should make a difference though.???
>?
>>>> ???
>?
>>>> ??
>?
>>>> -John???
>?
>>>> ???
>?
>>>> ??
>?
>>>> ???
>?
>>>> ??
>?
>>>> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:???
>?
>>>> ???
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> Hi,???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> Thanks for the reply. I have list? of those domains only. I am >>>> not >>> > sure??
>?
>>>>> how many pages they have. Is a DSL? connection sufficient to > >>>>> >>>> run nutch in??
>?
>>>>> my case. Did you run nutch for all of your pages at > once or >>>>> >>>> separately for??
>?
>>>>> a given subset of them. Btw, yesterday I > tried to use merge >>>>> >>>> shell script??
>?
>>>>> that we have on wiki. It gave a lot > of errors. I run it on >>>>> >>>> cygwin though.???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> Thanks.???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> A.???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> -----Original Message-----???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> From: John Martyniak <jo...@beforedawn.com>???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> To: nutch-user@lucene.apache.org???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> Sent: Tue, 3 Mar 2009 1:44 pm???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> Subject: Re: what is needed to index for about 10000 domains???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> I think that in order to answer that questions, it is necessary >>>> to >>> > know??
>?
>>>>> how many total pages are being indexed.????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> I currently have ~3.5 million pages indexed, and the segment >??
>?
>>>>> directories are around 45GB, The response time is relatively >>>>> >>>> fast.????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> In the test site it is running on a dual processor Dell 1850 with >>>> >>> > 3GB??
>?
>>>>> of RAM.????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> -John????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> Hello,????
>?
>>>>>> ??
>?
>>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ????
>?
>>>>>> ??
>?
>>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> I use nutch-0.9 and need to index about 10000? domains.? I want >>>> to >>> >> >??
>?
>>>>>> know? minimum requirements to hardware and memory.????
>?
>>>>>> ??
>?
>>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ????
>?
>>>>>> ??
>?
>>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> Thanks in advance.????
>?
>>>>>> ??
>?
>>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> Alex.????
>?
>>>>>> ??
>?
>>>>> ??
>?
>>>> ????
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ??
>?
>>>> ???
>?
>>>>> ??
>?
>>>> ???
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>>> ??
>?
>>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
>?
>> ??
> ??
>?
>?
>?
>?
>?
?
Re: what is needed to index for about 10000 domains
Posted by Jasper Kamperman <ja...@openwaternet.com>.
I don't think there is a standard way to tell Nutch to download the
end of a file (since you have to download the beginning before you get
to the end).
But if I understand what you want, you could write a custom
IndexFilter that indexes only the tail of a file, see http://wiki.apache.org/nutch/WritingPluginExample-0.9
for a start on how to do this.
On Mar 3, 2009, at 8:48 PM, alxsss@aim.com wrote:
>
> I never tried to test this configuration. What about asking nutch to
> download a certain amount of byes from the end of files?
>
>
>
>
>
>
>
> -----Original Message-----
> From: Jasper Kamperman <ja...@openwaternet.com>
> To: nutch-user@lucene.apache.org
> Sent: Tue, 3 Mar 2009 8:32 pm
> Subject: Re: what is needed to index for about 10000 domains
>
>
>
>
>
>
>
>
>
> One reason to store content is if you want to show snippets in
> search results.?
> ?
>
> Another reason is if you want to have a "cached" feature where you
> can give the user the page as it looked when you crawled it (it may
> since have disappeared.?
> ?
>
> There is a way to tell nutch to look at only the beginning of a
> file, it's this section in your config.xml:?
> ?
>
> <property>?
>
> ? <name>file.content.limit</name>?
>
> ? <value>65536</value>?
>
> ? <description>The length limit for downloaded content, in bytes.?
>
> ? If this value is nonnegative (>=0), content longer than it will be
> truncated;?
>
> ? otherwise, no truncation at all.?
>
> ? </description>?
>
> </property>?
> ?
>
> this is from the nutch-default.xml in 0.9, don't know whether it has
> changed in 1.0 .?
> ?
>
> On Mar 3, 2009, at 8:27 PM, alxsss@aim.com wrote:?
> ?
>
>> ?
>
>> Hi,?
>
>> ?
>
>> I also noticed that we can disable storing content of pages which I
>> > use. I wonder why someone needs to store content? Also, in case
>> of > files, is there a way to tell nutch not to download the whole
>> file > but let say 1000 bytes from the beginning and parse and
>> index > information only in that part of files??
>
>> ?
>
>> Thanks.?
>
>> A.?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> -----Original Message-----?
>
>> From: yanky young <ya...@gmail.com>?
>
>> To: nutch-user@lucene.apache.org?
>
>> Sent: Tue, 3 Mar 2009 6:41 pm?
>
>> Subject: Re: what is needed to index for about 10000 domains?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> Hi:?
>
>> ?
>
>> Dog cutting has ever write a wiki about hardware requirement of >
>> nutch, you?
>
>> can check it out?
>
>> ?
>
>> http://wiki.apache.org/nutch/HardwareRequirements?
>
>> ?
>
>> good luck?
>
>> ?
>
>> yanky?
>
>> ?
>
>> ?
>
>> 2009/3/4 John Martyniak <jo...@beforedawn.com>?
>
>> ?
>
>>> Regarding the machine, you could run it on anything, it all >>
>>> depends what?
>
>>> kind of performance you want. So yes you could run it on the >>
>>> machine that?
>
>>> you have or something like the linux machine that I have. And the
>>> >> DSL?
>
>>> connection should be fine, you just need to make sure that it
>>> stays >> up the?
>
>>> whole time, because if not it will start erring out, and you will
>>> >> have to?
>
>>> re-fetch that whole segment as there is no way to pick up from >>
>>> where you?
>
>>> left off.?
>
>>> ?
>
>>> The only reason that I merged the segments was that I had many of
>>> >> them, and?
>
>>> I wanted to build a big one before I started creating new ones, >>
>>> another?
>
>>> advantage of merging is that you can use that to clear out
>>> unwanted >> urls.?
>
>>> For example I had a bunch of .js files in there, that I didn't
>>> want >> to have?
>
>>> as part of the index, so I cleared them out.?
>
>>> ?
>
>>> I used "bin/nutch mergesegs".?
>
>>> ?
>
>>> Regarding merging the other parts, I have never used, but I don't
>>> >> think?
>
>>> that it is necessary unless you have multiple linkdbs, etc. in my
>>> >> case I do?
>
>>> not.?
>
>>> ?
>
>>> -John?
>
>>> ?
>
>>> ?
>
>>> ?
>
>>> ?
>
>>> On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:?
>
>>> ?
>
>>> ?
>
>>>> Hi,?
>
>>>> ?
>
>>>> I will need to index all links in domains then. What do you think
>>>> >>> a linux?
>
>>>> box like yours with DSL connection is OK to index the domains I
>>>> >>> have??
>
>>>> ?
>
>>>> Why only segments? I thought we need to merge all sub folders >>>
>>>> under crawl?
>
>>>> folder. What did you use for merging them??
>
>>>> ?
>
>>>> Thanks.?
>
>>>> A.?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> -----Original Message-----?
>
>>>> From: John Martyniak <jo...@beforedawn.com>?
>
>>>> To: nutch-user@lucene.apache.org?
>
>>>> Sent: Tue, 3 Mar 2009 3:21 pm?
>
>>>> Subject: Re: what is needed to index for about 10000 domains?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> Well the way that nutch works is that you would inject your list
>>>> of?
>
>>>> domains into the DB, and that would be the starting point. Since
>>>> >>> nutch uses?
>
>>>> a crawler it would grab those pages, and determine if there are
>>>> >>> any links on?
>
>>>> those pages, and then add them to the DB. So the next time that
>>>> you?
>
>>>> generated your urls to fetch, it would take your original list,
>>>> >>> plus the?
>
>>>> ones that it found to generate the new segment.??
>
>>>> ??
>
>>>> ?
>
>>>> If you wanted to limit it to only pages contained on your 10000
>>>> >>> domains,?
>
>>>> you could use the regex-urlfilter.txt file in the conf directory
>>>> >>> to limit it?
>
>>>> to your list. But you would have to create a regular expression
>>>> >>> for each?
>
>>>> one.??
>
>>>> ??
>
>>>> ?
>
>>>> I am not familiar with the merge script on the wiki, but have
>>>> merged?
>
>>>> segments before and it did work. But that was on Linux, don't
>>>> >>> think that?
>
>>>> should make a difference though.??
>
>>>> ??
>
>>>> ?
>
>>>> -John??
>
>>>> ??
>
>>>> ?
>
>>>> ??
>
>>>> ?
>
>>>> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:??
>
>>>> ??
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> Hi,??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> Thanks for the reply. I have list? of those domains only. I am
>>>> not >>> > sure?
>
>>>>> how many pages they have. Is a DSL? connection sufficient to >
>>>>> >>>> run nutch in?
>
>>>>> my case. Did you run nutch for all of your pages at > once or
>>>>> >>>> separately for?
>
>>>>> a given subset of them. Btw, yesterday I > tried to use merge
>>>>> >>>> shell script?
>
>>>>> that we have on wiki. It gave a lot > of errors. I run it on
>>>>> >>>> cygwin though.??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> Thanks.??
>
>>>>> ?
>
>>>> ?
>
>>>> A.??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> -----Original Message-----??
>
>>>>> ?
>
>>>> ?
>
>>>> From: John Martyniak <jo...@beforedawn.com>??
>
>>>>> ?
>
>>>> ?
>
>>>> To: nutch-user@lucene.apache.org??
>
>>>>> ?
>
>>>> ?
>
>>>> Sent: Tue, 3 Mar 2009 1:44 pm??
>
>>>>> ?
>
>>>> ?
>
>>>> Subject: Re: what is needed to index for about 10000 domains??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> I think that in order to answer that questions, it is necessary
>>>> to >>> > know?
>
>>>>> how many total pages are being indexed.???
>
>>>>> ?
>
>>>> ?
>
>>>> ???
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> I currently have ~3.5 million pages indexed, and the segment >?
>
>>>>> directories are around 45GB, The response time is relatively
>>>>> >>>> fast.???
>
>>>>> ?
>
>>>> ?
>
>>>> ???
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> In the test site it is running on a dual processor Dell 1850 with
>>>> >>> > 3GB?
>
>>>>> of RAM.???
>
>>>>> ?
>
>>>> ?
>
>>>> ???
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> -John???
>
>>>>> ?
>
>>>> ?
>
>>>> ???
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:???
>
>>>>> ?
>
>>>> ?
>
>>>> ???
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> Hello,???
>
>>>>>> ?
>
>>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ???
>
>>>>>> ?
>
>>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> I use nutch-0.9 and need to index about 10000? domains.? I want
>>>> to >>> >> >?
>
>>>>>> know? minimum requirements to hardware and memory.???
>
>>>>>> ?
>
>>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ???
>
>>>>>> ?
>
>>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> Thanks in advance.???
>
>>>>>> ?
>
>>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> Alex.???
>
>>>>>> ?
>
>>>>> ?
>
>>>> ???
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ?
>
>>>> ??
>
>>>>> ?
>
>>>> ??
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>>> ?
>
>>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
> ?
>
>
>
>
>
Re: what is needed to index for about 10000 domains
Posted by al...@aim.com.
I never tried to test this configuration. What about asking nutch to download a certain amount of byes from the end of files?
-----Original Message-----
From: Jasper Kamperman <ja...@openwaternet.com>
To: nutch-user@lucene.apache.org
Sent: Tue, 3 Mar 2009 8:32 pm
Subject: Re: what is needed to index for about 10000 domains
One reason to store content is if you want to show snippets in search results.?
?
Another reason is if you want to have a "cached" feature where you can give the user the page as it looked when you crawled it (it may since have disappeared.?
?
There is a way to tell nutch to look at only the beginning of a file, it's this section in your config.xml:?
?
<property>?
? <name>file.content.limit</name>?
? <value>65536</value>?
? <description>The length limit for downloaded content, in bytes.?
? If this value is nonnegative (>=0), content longer than it will be truncated;?
? otherwise, no truncation at all.?
? </description>?
</property>?
?
this is from the nutch-default.xml in 0.9, don't know whether it has changed in 1.0 .?
?
On Mar 3, 2009, at 8:27 PM, alxsss@aim.com wrote:?
?
>?
> Hi,?
>?
> I also noticed that we can disable storing content of pages which I > use. I wonder why someone needs to store content? Also, in case of > files, is there a way to tell nutch not to download the whole file > but let say 1000 bytes from the beginning and parse and index > information only in that part of files??
>?
> Thanks.?
> A.?
>?
>?
>?
>?
>?
>?
>?
> -----Original Message-----?
> From: yanky young <ya...@gmail.com>?
> To: nutch-user@lucene.apache.org?
> Sent: Tue, 3 Mar 2009 6:41 pm?
> Subject: Re: what is needed to index for about 10000 domains?
>?
>?
>?
>?
>?
>?
>?
>?
>?
>?
> Hi:?
>?
> Dog cutting has ever write a wiki about hardware requirement of > nutch, you?
> can check it out?
>?
> http://wiki.apache.org/nutch/HardwareRequirements?
>?
> good luck?
>?
> yanky?
>?
>?
> 2009/3/4 John Martyniak <jo...@beforedawn.com>?
>?
>> Regarding the machine, you could run it on anything, it all >> depends what?
>> kind of performance you want. So yes you could run it on the >> machine that?
>> you have or something like the linux machine that I have. And the >> DSL?
>> connection should be fine, you just need to make sure that it stays >> up the?
>> whole time, because if not it will start erring out, and you will >> have to?
>> re-fetch that whole segment as there is no way to pick up from >> where you?
>> left off.?
>>?
>> The only reason that I merged the segments was that I had many of >> them, and?
>> I wanted to build a big one before I started creating new ones, >> another?
>> advantage of merging is that you can use that to clear out unwanted >> urls.?
>> For example I had a bunch of .js files in there, that I didn't want >> to have?
>> as part of the index, so I cleared them out.?
>>?
>> I used "bin/nutch mergesegs".?
>>?
>> Regarding merging the other parts, I have never used, but I don't >> think?
>> that it is necessary unless you have multiple linkdbs, etc. in my >> case I do?
>> not.?
>>?
>> -John?
>>?
>>?
>>?
>>?
>> On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:?
>>?
>>?
>>> Hi,?
>>>?
>>> I will need to index all links in domains then. What do you think >>> a linux?
>>> box like yours with DSL connection is OK to index the domains I >>> have??
>>>?
>>> Why only segments? I thought we need to merge all sub folders >>> under crawl?
>>> folder. What did you use for merging them??
>>>?
>>> Thanks.?
>>> A.?
>>>?
>>>?
>>>?
>>>?
>>>?
>>>?
>>>?
>>> -----Original Message-----?
>>> From: John Martyniak <jo...@beforedawn.com>?
>>> To: nutch-user@lucene.apache.org?
>>> Sent: Tue, 3 Mar 2009 3:21 pm?
>>> Subject: Re: what is needed to index for about 10000 domains?
>>>?
>>>?
>>>?
>>>?
>>>?
>>>?
>>>?
>>>?
>>>?
>>> Well the way that nutch works is that you would inject your list of?
>>> domains into the DB, and that would be the starting point. Since >>> nutch uses?
>>> a crawler it would grab those pages, and determine if there are >>> any links on?
>>> those pages, and then add them to the DB. So the next time that you?
>>> generated your urls to fetch, it would take your original list, >>> plus the?
>>> ones that it found to generate the new segment.??
>>> ??
>>>?
>>> If you wanted to limit it to only pages contained on your 10000 >>> domains,?
>>> you could use the regex-urlfilter.txt file in the conf directory >>> to limit it?
>>> to your list. But you would have to create a regular expression >>> for each?
>>> one.??
>>> ??
>>>?
>>> I am not familiar with the merge script on the wiki, but have merged?
>>> segments before and it did work. But that was on Linux, don't >>> think that?
>>> should make a difference though.??
>>> ??
>>>?
>>> -John??
>>> ??
>>>?
>>> ??
>>>?
>>> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:??
>>> ??
>>>?
>>> ??
>>>>?
>>>?
>>> Hi,??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> Thanks for the reply. I have list? of those domains only. I am not >>> > sure?
>>>> how many pages they have. Is a DSL? connection sufficient to > >>>> run nutch in?
>>>> my case. Did you run nutch for all of your pages at > once or >>>> separately for?
>>>> a given subset of them. Btw, yesterday I > tried to use merge >>>> shell script?
>>>> that we have on wiki. It gave a lot > of errors. I run it on >>>> cygwin though.??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> Thanks.??
>>>>?
>>>?
>>> A.??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> -----Original Message-----??
>>>>?
>>>?
>>> From: John Martyniak <jo...@beforedawn.com>??
>>>>?
>>>?
>>> To: nutch-user@lucene.apache.org??
>>>>?
>>>?
>>> Sent: Tue, 3 Mar 2009 1:44 pm??
>>>>?
>>>?
>>> Subject: Re: what is needed to index for about 10000 domains??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> I think that in order to answer that questions, it is necessary to >>> > know?
>>>> how many total pages are being indexed.???
>>>>?
>>>?
>>> ???
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> I currently have ~3.5 million pages indexed, and the segment >?
>>>> directories are around 45GB, The response time is relatively >>>> fast.???
>>>>?
>>>?
>>> ???
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> In the test site it is running on a dual processor Dell 1850 with >>> > 3GB?
>>>> of RAM.???
>>>>?
>>>?
>>> ???
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> -John???
>>>>?
>>>?
>>> ???
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:???
>>>>?
>>>?
>>> ???
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> Hello,???
>>>>>?
>>>>?
>>> ??
>>>>?
>>>?
>>> ???
>>>>>?
>>>>?
>>> ??
>>>>?
>>>?
>>> I use nutch-0.9 and need to index about 10000? domains.? I want to >>> >> >?
>>>>> know? minimum requirements to hardware and memory.???
>>>>>?
>>>>?
>>> ??
>>>>?
>>>?
>>> ???
>>>>>?
>>>>?
>>> ??
>>>>?
>>>?
>>> Thanks in advance.???
>>>>>?
>>>>?
>>> ??
>>>>?
>>>?
>>> Alex.???
>>>>>?
>>>>?
>>> ???
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>>?
>>> ??
>>>>?
>>> ??
>>>?
>>>?
>>>?
>>>?
>>>?
>>>?
>>?
>?
>?
>?
>?
>?
?
Re: what is needed to index for about 10000 domains
Posted by "Eric J. Christeson" <Er...@ndsu.edu>.
On Mar 3, 2009, at 10:32 PM, Jasper Kamperman wrote:
> There is a way to tell nutch to look at only the beginning of a
> file, it's this section in your config.xml:
>
> <property>
> <name>file.content.limit</name>
> <value>65536</value>
> <description>The length limit for downloaded content, in bytes.
> If this value is nonnegative (>=0), content longer than it will
> be truncated;
> otherwise, no truncation at all.
> </description>
> </property>
>
> this is from the nutch-default.xml in 0.9, don't know whether it
> has changed in 1.0 .
This might also depend upon what type of files you're trying to
index. We ended up using -1 for unlimited after running into some
15MB pdf files. The pdf parser would barf if it didn't get the whole
file. This was with 0.9, don't know if 1.0 includes
Eric
--
Eric J. Christeson
<Er...@ndsu.edu>
Enterprise Computing and Infrastructure (701) 231-8693 (Voice)
North Dakota State University
Re: what is needed to index for about 10000 domains
Posted by Jasper Kamperman <ja...@openwaternet.com>.
One reason to store content is if you want to show snippets in search
results.
Another reason is if you want to have a "cached" feature where you can
give the user the page as it looked when you crawled it (it may since
have disappeared.
There is a way to tell nutch to look at only the beginning of a file,
it's this section in your config.xml:
<property>
<name>file.content.limit</name>
<value>65536</value>
<description>The length limit for downloaded content, in bytes.
If this value is nonnegative (>=0), content longer than it will be
truncated;
otherwise, no truncation at all.
</description>
</property>
this is from the nutch-default.xml in 0.9, don't know whether it has
changed in 1.0 .
On Mar 3, 2009, at 8:27 PM, alxsss@aim.com wrote:
>
> Hi,
>
> I also noticed that we can disable storing content of pages which I
> use. I wonder why someone needs to store content? Also, in case of
> files, is there a way to tell nutch not to download the whole file
> but let say 1000 bytes from the beginning and parse and index
> information only in that part of files?
>
> Thanks.
> A.
>
>
>
>
>
>
>
> -----Original Message-----
> From: yanky young <ya...@gmail.com>
> To: nutch-user@lucene.apache.org
> Sent: Tue, 3 Mar 2009 6:41 pm
> Subject: Re: what is needed to index for about 10000 domains
>
>
>
>
>
>
>
>
>
>
> Hi:
>
> Dog cutting has ever write a wiki about hardware requirement of
> nutch, you
> can check it out
>
> http://wiki.apache.org/nutch/HardwareRequirements
>
> good luck
>
> yanky
>
>
> 2009/3/4 John Martyniak <jo...@beforedawn.com>
>
>> Regarding the machine, you could run it on anything, it all
>> depends what
>> kind of performance you want. So yes you could run it on the
>> machine that
>> you have or something like the linux machine that I have. And the
>> DSL
>> connection should be fine, you just need to make sure that it stays
>> up the
>> whole time, because if not it will start erring out, and you will
>> have to
>> re-fetch that whole segment as there is no way to pick up from
>> where you
>> left off.
>>
>> The only reason that I merged the segments was that I had many of
>> them, and
>> I wanted to build a big one before I started creating new ones,
>> another
>> advantage of merging is that you can use that to clear out unwanted
>> urls.
>> For example I had a bunch of .js files in there, that I didn't want
>> to have
>> as part of the index, so I cleared them out.
>>
>> I used "bin/nutch mergesegs".
>>
>> Regarding merging the other parts, I have never used, but I don't
>> think
>> that it is necessary unless you have multiple linkdbs, etc. in my
>> case I do
>> not.
>>
>> -John
>>
>>
>>
>>
>> On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
>>
>>
>>> Hi,
>>>
>>> I will need to index all links in domains then. What do you think
>>> a linux
>>> box like yours with DSL connection is OK to index the domains I
>>> have?
>>>
>>> Why only segments? I thought we need to merge all sub folders
>>> under crawl
>>> folder. What did you use for merging them?
>>>
>>> Thanks.
>>> A.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: John Martyniak <jo...@beforedawn.com>
>>> To: nutch-user@lucene.apache.org
>>> Sent: Tue, 3 Mar 2009 3:21 pm
>>> Subject: Re: what is needed to index for about 10000 domains
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Well the way that nutch works is that you would inject your list of
>>> domains into the DB, and that would be the starting point. Since
>>> nutch uses
>>> a crawler it would grab those pages, and determine if there are
>>> any links on
>>> those pages, and then add them to the DB. So the next time that you
>>> generated your urls to fetch, it would take your original list,
>>> plus the
>>> ones that it found to generate the new segment.?
>>> ?
>>>
>>> If you wanted to limit it to only pages contained on your 10000
>>> domains,
>>> you could use the regex-urlfilter.txt file in the conf directory
>>> to limit it
>>> to your list. But you would have to create a regular expression
>>> for each
>>> one.?
>>> ?
>>>
>>> I am not familiar with the merge script on the wiki, but have merged
>>> segments before and it did work. But that was on Linux, don't
>>> think that
>>> should make a difference though.?
>>> ?
>>>
>>> -John?
>>> ?
>>>
>>> ?
>>>
>>> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
>>> ?
>>>
>>> ?
>>>>
>>>
>>> Hi,?
>>>>
>>>
>>> ?
>>>>
>>>
>>> Thanks for the reply. I have list? of those domains only. I am not
>>> > sure
>>>> how many pages they have. Is a DSL? connection sufficient to >
>>>> run nutch in
>>>> my case. Did you run nutch for all of your pages at > once or
>>>> separately for
>>>> a given subset of them. Btw, yesterday I > tried to use merge
>>>> shell script
>>>> that we have on wiki. It gave a lot > of errors. I run it on
>>>> cygwin though.?
>>>>
>>>
>>> ?
>>>>
>>>
>>> Thanks.?
>>>>
>>>
>>> A.?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> -----Original Message-----?
>>>>
>>>
>>> From: John Martyniak <jo...@beforedawn.com>?
>>>>
>>>
>>> To: nutch-user@lucene.apache.org?
>>>>
>>>
>>> Sent: Tue, 3 Mar 2009 1:44 pm?
>>>>
>>>
>>> Subject: Re: what is needed to index for about 10000 domains?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> I think that in order to answer that questions, it is necessary to
>>> > know
>>>> how many total pages are being indexed.??
>>>>
>>>
>>> ??
>>>>
>>>
>>> ?
>>>>
>>>
>>> I currently have ~3.5 million pages indexed, and the segment >
>>>> directories are around 45GB, The response time is relatively
>>>> fast.??
>>>>
>>>
>>> ??
>>>>
>>>
>>> ?
>>>>
>>>
>>> In the test site it is running on a dual processor Dell 1850 with
>>> > 3GB
>>>> of RAM.??
>>>>
>>>
>>> ??
>>>>
>>>
>>> ?
>>>>
>>>
>>> -John??
>>>>
>>>
>>> ??
>>>>
>>>
>>> ?
>>>>
>>>
>>> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
>>>>
>>>
>>> ??
>>>>
>>>
>>> ?
>>>>
>>>
>>> Hello,??
>>>>>
>>>>
>>> ?
>>>>
>>>
>>> ??
>>>>>
>>>>
>>> ?
>>>>
>>>
>>> I use nutch-0.9 and need to index about 10000? domains.? I want to
>>> >> >
>>>>> know? minimum requirements to hardware and memory.??
>>>>>
>>>>
>>> ?
>>>>
>>>
>>> ??
>>>>>
>>>>
>>> ?
>>>>
>>>
>>> Thanks in advance.??
>>>>>
>>>>
>>> ?
>>>>
>>>
>>> Alex.??
>>>>>
>>>>
>>> ??
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>>
>>> ?
>>>>
>>> ?
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
>
>
>
>
Re: what is needed to index for about 10000 domains
Posted by al...@aim.com.
Hi,
I also noticed that we can disable storing content of pages which I use. I wonder why someone needs to store content? Also, in case of files, is there a way to tell nutch not to download the whole file but let say 1000 bytes from the beginning and parse and index information only in that part of files?
Thanks.
A.
-----Original Message-----
From: yanky young <ya...@gmail.com>
To: nutch-user@lucene.apache.org
Sent: Tue, 3 Mar 2009 6:41 pm
Subject: Re: what is needed to index for about 10000 domains
Hi:
Dog cutting has ever write a wiki about hardware requirement of nutch, you
can check it out
http://wiki.apache.org/nutch/HardwareRequirements
good luck
yanky
2009/3/4 John Martyniak <jo...@beforedawn.com>
> Regarding the machine, you could run it on anything, it all depends what
> kind of performance you want. So yes you could run it on the machine that
> you have or something like the linux machine that I have. And the DSL
> connection should be fine, you just need to make sure that it stays up the
> whole time, because if not it will start erring out, and you will have to
> re-fetch that whole segment as there is no way to pick up from where you
> left off.
>
> The only reason that I merged the segments was that I had many of them, and
> I wanted to build a big one before I started creating new ones, another
> advantage of merging is that you can use that to clear out unwanted urls.
> For example I had a bunch of .js files in there, that I didn't want to have
> as part of the index, so I cleared them out.
>
> I used "bin/nutch mergesegs".
>
> Regarding merging the other parts, I have never used, but I don't think
> that it is necessary unless you have multiple linkdbs, etc. in my case I do
> not.
>
> -John
>
>
>
>
> On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
>
>
>> Hi,
>>
>> I will need to index all links in domains then. What do you think a linux
>> box like yours with DSL connection is OK to index the domains I have?
>>
>> Why only segments? I thought we need to merge all sub folders under crawl
>> folder. What did you use for merging them?
>>
>> Thanks.
>> A.
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: John Martyniak <jo...@beforedawn.com>
>> To: nutch-user@lucene.apache.org
>> Sent: Tue, 3 Mar 2009 3:21 pm
>> Subject: Re: what is needed to index for about 10000 domains
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Well the way that nutch works is that you would inject your list of
>> domains into the DB, and that would be the starting point. Since nutch uses
>> a crawler it would grab those pages, and determine if there are any links on
>> those pages, and then add them to the DB. So the next time that you
>> generated your urls to fetch, it would take your original list, plus the
>> ones that it found to generate the new segment.?
>> ?
>>
>> If you wanted to limit it to only pages contained on your 10000 domains,
>> you could use the regex-urlfilter.txt file in the conf directory to limit it
>> to your list. But you would have to create a regular expression for each
>> one.?
>> ?
>>
>> I am not familiar with the merge script on the wiki, but have merged
>> segments before and it did work. But that was on Linux, don't think that
>> should make a difference though.?
>> ?
>>
>> -John?
>> ?
>>
>> ?
>>
>> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
>> ?
>>
>> ?
>>>
>>
>> Hi,?
>>>
>>
>> ?
>>>
>>
>> Thanks for the reply. I have list? of those domains only. I am not > sure
>>> how many pages they have. Is a DSL? connection sufficient to > run nutch in
>>> my case. Did you run nutch for all of your pages at > once or separately for
>>> a given subset of them. Btw, yesterday I > tried to use merge shell script
>>> that we have on wiki. It gave a lot > of errors. I run it on cygwin though.?
>>>
>>
>> ?
>>>
>>
>> Thanks.?
>>>
>>
>> A.?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> -----Original Message-----?
>>>
>>
>> From: John Martyniak <jo...@beforedawn.com>?
>>>
>>
>> To: nutch-user@lucene.apache.org?
>>>
>>
>> Sent: Tue, 3 Mar 2009 1:44 pm?
>>>
>>
>> Subject: Re: what is needed to index for about 10000 domains?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> I think that in order to answer that questions, it is necessary to > know
>>> how many total pages are being indexed.??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> I currently have ~3.5 million pages indexed, and the segment >
>>> directories are around 45GB, The response time is relatively fast.??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> In the test site it is running on a dual processor Dell 1850 with > 3GB
>>> of RAM.??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> -John??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> Hello,??
>>>>
>>>
>> ?
>>>
>>
>> ??
>>>>
>>>
>> ?
>>>
>>
>> I use nutch-0.9 and need to index about 10000? domains.? I want to >> >
>>>> know? minimum requirements to hardware and memory.??
>>>>
>>>
>> ?
>>>
>>
>> ??
>>>>
>>>
>> ?
>>>
>>
>> Thanks in advance.??
>>>>
>>>
>> ?
>>>
>>
>> Alex.??
>>>>
>>>
>> ??
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>> ?
>>
>>
>>
>>
>>
>>
>
Re: what is needed to index for about 10000 domains
Posted by yanky young <ya...@gmail.com>.
Hi:
Dog cutting has ever write a wiki about hardware requirement of nutch, you
can check it out
http://wiki.apache.org/nutch/HardwareRequirements
good luck
yanky
2009/3/4 John Martyniak <jo...@beforedawn.com>
> Regarding the machine, you could run it on anything, it all depends what
> kind of performance you want. So yes you could run it on the machine that
> you have or something like the linux machine that I have. And the DSL
> connection should be fine, you just need to make sure that it stays up the
> whole time, because if not it will start erring out, and you will have to
> re-fetch that whole segment as there is no way to pick up from where you
> left off.
>
> The only reason that I merged the segments was that I had many of them, and
> I wanted to build a big one before I started creating new ones, another
> advantage of merging is that you can use that to clear out unwanted urls.
> For example I had a bunch of .js files in there, that I didn't want to have
> as part of the index, so I cleared them out.
>
> I used "bin/nutch mergesegs".
>
> Regarding merging the other parts, I have never used, but I don't think
> that it is necessary unless you have multiple linkdbs, etc. in my case I do
> not.
>
> -John
>
>
>
>
> On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
>
>
>> Hi,
>>
>> I will need to index all links in domains then. What do you think a linux
>> box like yours with DSL connection is OK to index the domains I have?
>>
>> Why only segments? I thought we need to merge all sub folders under crawl
>> folder. What did you use for merging them?
>>
>> Thanks.
>> A.
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: John Martyniak <jo...@beforedawn.com>
>> To: nutch-user@lucene.apache.org
>> Sent: Tue, 3 Mar 2009 3:21 pm
>> Subject: Re: what is needed to index for about 10000 domains
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Well the way that nutch works is that you would inject your list of
>> domains into the DB, and that would be the starting point. Since nutch uses
>> a crawler it would grab those pages, and determine if there are any links on
>> those pages, and then add them to the DB. So the next time that you
>> generated your urls to fetch, it would take your original list, plus the
>> ones that it found to generate the new segment.?
>> ?
>>
>> If you wanted to limit it to only pages contained on your 10000 domains,
>> you could use the regex-urlfilter.txt file in the conf directory to limit it
>> to your list. But you would have to create a regular expression for each
>> one.?
>> ?
>>
>> I am not familiar with the merge script on the wiki, but have merged
>> segments before and it did work. But that was on Linux, don't think that
>> should make a difference though.?
>> ?
>>
>> -John?
>> ?
>>
>> ?
>>
>> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
>> ?
>>
>> ?
>>>
>>
>> Hi,?
>>>
>>
>> ?
>>>
>>
>> Thanks for the reply. I have list? of those domains only. I am not > sure
>>> how many pages they have. Is a DSL? connection sufficient to > run nutch in
>>> my case. Did you run nutch for all of your pages at > once or separately for
>>> a given subset of them. Btw, yesterday I > tried to use merge shell script
>>> that we have on wiki. It gave a lot > of errors. I run it on cygwin though.?
>>>
>>
>> ?
>>>
>>
>> Thanks.?
>>>
>>
>> A.?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> -----Original Message-----?
>>>
>>
>> From: John Martyniak <jo...@beforedawn.com>?
>>>
>>
>> To: nutch-user@lucene.apache.org?
>>>
>>
>> Sent: Tue, 3 Mar 2009 1:44 pm?
>>>
>>
>> Subject: Re: what is needed to index for about 10000 domains?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> I think that in order to answer that questions, it is necessary to > know
>>> how many total pages are being indexed.??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> I currently have ~3.5 million pages indexed, and the segment >
>>> directories are around 45GB, The response time is relatively fast.??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> In the test site it is running on a dual processor Dell 1850 with > 3GB
>>> of RAM.??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> -John??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
>>>
>>
>> ??
>>>
>>
>> ?
>>>
>>
>> Hello,??
>>>>
>>>
>> ?
>>>
>>
>> ??
>>>>
>>>
>> ?
>>>
>>
>> I use nutch-0.9 and need to index about 10000? domains.? I want to >> >
>>>> know? minimum requirements to hardware and memory.??
>>>>
>>>
>> ?
>>>
>>
>> ??
>>>>
>>>
>> ?
>>>
>>
>> Thanks in advance.??
>>>>
>>>
>> ?
>>>
>>
>> Alex.??
>>>>
>>>
>> ??
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>>
>> ?
>>>
>> ?
>>
>>
>>
>>
>>
>>
>
RE: Can not get Nutch query to work.. Can you help..
Posted by "Lukas, Ray" <Ra...@idearc.com>.
WOW.. Okay.. Let me work on that.. You are a clever guy.. How you
figured that out is.. Okay.. Let me try that.. Meetings most of the
day.. So will do best I can.. Aren't the plug-in jars used to build the
indexes and do the crawling.. That does work so I assumed (probably
incorrectly) that I was all set.. So this might not be the case then..
Ah.. Well you know what they say about assuming things..
Oh the S versus s .. WORD.. I typed this up in word and so.. It auto
corrected that and made it upper case.. Sorry.. Sorry.. Problem when
you are always rushing. Okay.. Let me work on an ANT script..
Andrzej,.. Hey man thanks really.. I appreciate you takin the time to
look at this with me..
ray
-----Original Message-----
From: Andrzej Bialecki [mailto:ab@getopt.org]
Sent: Friday, March 06, 2009 10:20 AM
To: nutch-user@lucene.apache.org
Subject: Re: Can not get Nutch query to work.. Can you help..
Lukas, Ray wrote:
> Thanks man for helping out on this.. Thanks.. Okay
> Okay.. so Windows is okay.. I do not have much say in what we use
here..
> so. Which is fine.. I am happy.
>
> I have the following directories, directly under my
> C:\EclipseWorkspaces\nutchTest\outputDir directory which nutch
created..
>
>
> crawldb
> index
> indexes
> linkdb
> Segments
Ok ... except the "Segments" is with a lowercase "s" in front, right?
Lowercase letters do differ from uppercase letters (a first-grader truth
that Windows explorer is blissfully unaware of).
>
> I know that these are magic names and the config files states that
nutch
> will look for and use the index directory under this magically named
> tree so.. I am fine with that....
> So I think that I am good..
>
> so can I say "C:\EclipseWorkspaces\nutchTest\outputDir" as a
> searcher.dir value? I am going to try that..
>
>
> Pointing Luke at that index directory works great.
> Now.. I am not running on Tomcat.. I am just running from within
Eclipse
> as a regular old java project. This is not going to have a web
interface
> so.. no need for a web server..
Ah, running from Eclipse ... :| this is a bit tricky. Usually Eclipse
can't find the plugin jars, so Nutch tools don't work from Eclipse. The
quick & dirty hack that I use to make it work is to make an Ant build
(to populate the build/ directory), and then add build/ to Build Path as
one of the class folders.
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com
Re: Can not get Nutch query to work.. Can you help..
Posted by Andrzej Bialecki <ab...@getopt.org>.
Lukas, Ray wrote:
> Thanks man for helping out on this.. Thanks.. Okay
> Okay.. so Windows is okay.. I do not have much say in what we use here..
> so. Which is fine.. I am happy.
>
> I have the following directories, directly under my
> C:\EclipseWorkspaces\nutchTest\outputDir directory which nutch created..
>
>
> crawldb
> index
> indexes
> linkdb
> Segments
Ok ... except the "Segments" is with a lowercase "s" in front, right?
Lowercase letters do differ from uppercase letters (a first-grader truth
that Windows explorer is blissfully unaware of).
>
> I know that these are magic names and the config files states that nutch
> will look for and use the index directory under this magically named
> tree so.. I am fine with that....
> So I think that I am good..
>
> so can I say "C:\EclipseWorkspaces\nutchTest\outputDir" as a
> searcher.dir value? I am going to try that..
>
>
> Pointing Luke at that index directory works great.
> Now.. I am not running on Tomcat.. I am just running from within Eclipse
> as a regular old java project. This is not going to have a web interface
> so.. no need for a web server..
Ah, running from Eclipse ... :| this is a bit tricky. Usually Eclipse
can't find the plugin jars, so Nutch tools don't work from Eclipse. The
quick & dirty hack that I use to make it work is to make an Ant build
(to populate the build/ directory), and then add build/ to Build Path as
one of the class folders.
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com
RE: Can not get Nutch query to work.. Can you help..
Posted by "Lukas, Ray" <Ra...@idearc.com>.
Thanks man for helping out on this.. Thanks.. Okay
Okay.. so Windows is okay.. I do not have much say in what we use here..
so. Which is fine.. I am happy.
I have the following directories, directly under my
C:\EclipseWorkspaces\nutchTest\outputDir directory which nutch created..
crawldb
index
indexes
linkdb
Segments
I know that these are magic names and the config files states that nutch
will look for and use the index directory under this magically named
tree so.. I am fine with that....
So I think that I am good..
so can I say "C:\EclipseWorkspaces\nutchTest\outputDir" as a
searcher.dir value? I am going to try that..
Pointing Luke at that index directory works great.
Now.. I am not running on Tomcat.. I am just running from within Eclipse
as a regular old java project. This is not going to have a web interface
so.. no need for a web server..
I am looking to output that search directory using a get method off of
the config..
-----Original Message-----
From: Andrzej Bialecki [mailto:ab@getopt.org]
Sent: Friday, March 06, 2009 9:26 AM
To: nutch-user@lucene.apache.org
Subject: Re: Can not get Nutch query to work.. Can you help..
Lukas, Ray wrote:
> Okay.. I did try that.. Good idea..
> I moved the index to C:\ and tried
> <value>\outputDir</value> and
> <value>c:\outputDir</value>
> Did not help.. Basically I am running out of guesses you see..
> Maybe I don't know how to do this on evil MS Windows.. Maybe this does
> not work on evil MS Windows? Is that the problem? All the examples I
> have seen are unix based... Is this my problem.. Windows..
Ray,
Nutch works just fine on Windows, even if it's not the best environment
for it .. Please make sure that in your outputDir you have subdirs named
exactly like this:
linkdb
indexes
(or index, if you merged indexes using bin/nutch merge command)
segments
which contain the stuff that you crawled & parsed & indexed.
These are "magic" names that the searcher tries to use - especially if
it can't find either "indexes" or "index" things won't work. Check the
Tomcat/Jetty logs - NutchBean should print an info there that says what
directory it tries to use for indexes.
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com
Re: Can not get Nutch query to work.. Can you help..
Posted by Andrzej Bialecki <ab...@getopt.org>.
Lukas, Ray wrote:
> Okay.. I did try that.. Good idea..
> I moved the index to C:\ and tried
> <value>\outputDir</value> and
> <value>c:\outputDir</value>
> Did not help.. Basically I am running out of guesses you see..
> Maybe I don't know how to do this on evil MS Windows.. Maybe this does
> not work on evil MS Windows? Is that the problem? All the examples I
> have seen are unix based... Is this my problem.. Windows..
Ray,
Nutch works just fine on Windows, even if it's not the best environment
for it .. Please make sure that in your outputDir you have subdirs named
exactly like this:
linkdb
indexes
(or index, if you merged indexes using bin/nutch merge command)
segments
which contain the stuff that you crawled & parsed & indexed.
These are "magic" names that the searcher tries to use - especially if
it can't find either "indexes" or "index" things won't work. Check the
Tomcat/Jetty logs - NutchBean should print an info there that says what
directory it tries to use for indexes.
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com
RE: Can not get Nutch query to work.. Can you help..
Posted by "Lukas, Ray" <Ra...@idearc.com>.
Okay.. I did try that.. Good idea..
I moved the index to C:\ and tried
<value>\outputDir</value> and
<value>c:\outputDir</value>
Did not help.. Basically I am running out of guesses you see..
Maybe I don't know how to do this on evil MS Windows.. Maybe this does
not work on evil MS Windows? Is that the problem? All the examples I
have seen are unix based... Is this my problem.. Windows..
ray
-----Original Message-----
From: Alexander Aristov [mailto:alexander.aristov@gmail.com]
Sent: Friday, March 06, 2009 8:44 AM
To: nutch-user@lucene.apache.org
Subject: Re: Can not get Nutch query to work.. Can you help..
To begin specify full path to the nutch index.
2009/3/6 Lukas, Ray <Ra...@idearc.com>
>
> I am not able to make any nutch query work. I know it is something
> simple. Could someone take a look at what I am doing..
>
> Here is the code I am using, it is pretty simple:
>
>
> NutchBean bean = new NutchBean(conf);
> Query query = Query.parse("title:credit", conf);
> Hits hits = bean.search(query, 10);
> System.out.println("hits.getLength()=>" +
> hits.getLength());
>
> The configuration is the exact same configuration I am using to create
> the indexes. The very same object. Pointing Luke at these indexes and
> issuing the above search yields plenty of hits. Yet this yields no
hits.
>
> The other factor in the set up in nutch-site.xml. I added the
following
> which points me to the root directory of my newly created indexes.
>
> <property>
> <name>searcher.dir</name>
> <value>outputDir</value>
> <description>
> Text Removed from this email, remains in code
> </description>
> </property>
>
> Query returns zero hits. Tried several things, no luck. Can you help
me
> out?
>
> ray
>
> On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
>
Re: Can not get Nutch query to work.. Can you help..
Posted by Alexander Aristov <al...@gmail.com>.
To begin specify full path to the nutch index.
2009/3/6 Lukas, Ray <Ra...@idearc.com>
>
> I am not able to make any nutch query work. I know it is something
> simple. Could someone take a look at what I am doing..
>
> Here is the code I am using, it is pretty simple:
>
>
> NutchBean bean = new NutchBean(conf);
> Query query = Query.parse("title:credit", conf);
> Hits hits = bean.search(query, 10);
> System.out.println("hits.getLength()=>" +
> hits.getLength());
>
> The configuration is the exact same configuration I am using to create
> the indexes. The very same object. Pointing Luke at these indexes and
> issuing the above search yields plenty of hits. Yet this yields no hits.
>
> The other factor in the set up in nutch-site.xml. I added the following
> which points me to the root directory of my newly created indexes.
>
> <property>
> <name>searcher.dir</name>
> <value>outputDir</value>
> <description>
> Text Removed from this email, remains in code
> </description>
> </property>
>
> Query returns zero hits. Tried several things, no luck. Can you help me
> out?
>
> ray
>
> On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
>
> >
> > Hi,
> >
> > I will need to index all links in domains then. What do you think a
> > linux box like yours with DSL connection is OK to index the domains
> > I have?
> >
> > Why only segments? I thought we need to merge all sub folders under
> > crawl folder. What did you use for merging them?
> >
> > Thanks.
> > A.
> >
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: John Martyniak <jo...@beforedawn.com>
> > To: nutch-user@lucene.apache.org
> > Sent: Tue, 3 Mar 2009 3:21 pm
> > Subject: Re: what is needed to index for about 10000 domains
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Well the way that nutch works is that you would inject your list of
> > domains into the DB, and that would be the starting point. Since
> > nutch uses a crawler it would grab those pages, and determine if
> > there are any links on those pages, and then add them to the DB. So
> > the next time that you generated your urls to fetch, it would take
> > your original list, plus the ones that it found to generate the new
> > segment.?
> > ?
> >
> > If you wanted to limit it to only pages contained on your 10000
> > domains, you could use the regex-urlfilter.txt file in the conf
> > directory to limit it to your list. But you would have to create a
> > regular expression for each one.?
> > ?
> >
> > I am not familiar with the merge script on the wiki, but have merged
> > segments before and it did work. But that was on Linux, don't think
> > that should make a difference though.?
> > ?
> >
> > -John?
> > ?
> >
> > ?
> >
> > On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
> > ?
> >
> >> ?
> >
> >> Hi,?
> >
> >> ?
> >
> >> Thanks for the reply. I have list? of those domains only. I am not
> >> > sure how many pages they have. Is a DSL? connection sufficient to
> >> > run nutch in my case. Did you run nutch for all of your pages at
> >> > once or separately for a given subset of them. Btw, yesterday I >
> >> tried to use merge shell script that we have on wiki. It gave a lot
> >> > of errors. I run it on cygwin though.?
> >
> >> ?
> >
> >> Thanks.?
> >
> >> A.?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> -----Original Message-----?
> >
> >> From: John Martyniak <jo...@beforedawn.com>?
> >
> >> To: nutch-user@lucene.apache.org?
> >
> >> Sent: Tue, 3 Mar 2009 1:44 pm?
> >
> >> Subject: Re: what is needed to index for about 10000 domains?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> I think that in order to answer that questions, it is necessary to
> >> > know how many total pages are being indexed.??
> >
> >> ??
> >
> >> ?
> >
> >> I currently have ~3.5 million pages indexed, and the segment >
> >> directories are around 45GB, The response time is relatively fast.??
> >
> >> ??
> >
> >> ?
> >
> >> In the test site it is running on a dual processor Dell 1850 with >
> >> 3GB of RAM.??
> >
> >> ??
> >
> >> ?
> >
> >> -John??
> >
> >> ??
> >
> >> ?
> >
> >> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
> >
> >> ??
> >
> >> ?
> >
> >>> Hello,??
> >
> >> ?
> >
> >>> ??
> >
> >> ?
> >
> >>> I use nutch-0.9 and need to index about 10000? domains.? I want to
> >>> >> > know? minimum requirements to hardware and memory.??
> >
> >> ?
> >
> >>> ??
> >
> >> ?
> >
> >>> Thanks in advance.??
> >
> >> ?
> >
> >>> Alex.??
> >
> >> ??
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> >
> >> ?
> > ?
> >
> >
> >
> >
> >
>
>
--
Best Regards
Alexander Aristov
Can not get Nutch query to work.. Can you help..
Posted by "Lukas, Ray" <Ra...@idearc.com>.
I am not able to make any nutch query work. I know it is something
simple. Could someone take a look at what I am doing..
Here is the code I am using, it is pretty simple:
NutchBean bean = new NutchBean(conf);
Query query = Query.parse("title:credit", conf);
Hits hits = bean.search(query, 10);
System.out.println("hits.getLength()=>" +
hits.getLength());
The configuration is the exact same configuration I am using to create
the indexes. The very same object. Pointing Luke at these indexes and
issuing the above search yields plenty of hits. Yet this yields no hits.
The other factor in the set up in nutch-site.xml. I added the following
which points me to the root directory of my newly created indexes.
<property>
<name>searcher.dir</name>
<value>outputDir</value>
<description>
Text Removed from this email, remains in code
</description>
</property>
Query returns zero hits. Tried several things, no luck. Can you help me
out?
ray
On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
>
> Hi,
>
> I will need to index all links in domains then. What do you think a
> linux box like yours with DSL connection is OK to index the domains
> I have?
>
> Why only segments? I thought we need to merge all sub folders under
> crawl folder. What did you use for merging them?
>
> Thanks.
> A.
>
>
>
>
>
>
>
> -----Original Message-----
> From: John Martyniak <jo...@beforedawn.com>
> To: nutch-user@lucene.apache.org
> Sent: Tue, 3 Mar 2009 3:21 pm
> Subject: Re: what is needed to index for about 10000 domains
>
>
>
>
>
>
>
>
>
> Well the way that nutch works is that you would inject your list of
> domains into the DB, and that would be the starting point. Since
> nutch uses a crawler it would grab those pages, and determine if
> there are any links on those pages, and then add them to the DB. So
> the next time that you generated your urls to fetch, it would take
> your original list, plus the ones that it found to generate the new
> segment.?
> ?
>
> If you wanted to limit it to only pages contained on your 10000
> domains, you could use the regex-urlfilter.txt file in the conf
> directory to limit it to your list. But you would have to create a
> regular expression for each one.?
> ?
>
> I am not familiar with the merge script on the wiki, but have merged
> segments before and it did work. But that was on Linux, don't think
> that should make a difference though.?
> ?
>
> -John?
> ?
>
> ?
>
> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
> ?
>
>> ?
>
>> Hi,?
>
>> ?
>
>> Thanks for the reply. I have list? of those domains only. I am not
>> > sure how many pages they have. Is a DSL? connection sufficient to
>> > run nutch in my case. Did you run nutch for all of your pages at
>> > once or separately for a given subset of them. Btw, yesterday I >
>> tried to use merge shell script that we have on wiki. It gave a lot
>> > of errors. I run it on cygwin though.?
>
>> ?
>
>> Thanks.?
>
>> A.?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> -----Original Message-----?
>
>> From: John Martyniak <jo...@beforedawn.com>?
>
>> To: nutch-user@lucene.apache.org?
>
>> Sent: Tue, 3 Mar 2009 1:44 pm?
>
>> Subject: Re: what is needed to index for about 10000 domains?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> I think that in order to answer that questions, it is necessary to
>> > know how many total pages are being indexed.??
>
>> ??
>
>> ?
>
>> I currently have ~3.5 million pages indexed, and the segment >
>> directories are around 45GB, The response time is relatively fast.??
>
>> ??
>
>> ?
>
>> In the test site it is running on a dual processor Dell 1850 with >
>> 3GB of RAM.??
>
>> ??
>
>> ?
>
>> -John??
>
>> ??
>
>> ?
>
>> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
>
>> ??
>
>> ?
>
>>> Hello,??
>
>> ?
>
>>> ??
>
>> ?
>
>>> I use nutch-0.9 and need to index about 10000? domains.? I want to
>>> >> > know? minimum requirements to hardware and memory.??
>
>> ?
>
>>> ??
>
>> ?
>
>>> Thanks in advance.??
>
>> ?
>
>>> Alex.??
>
>> ??
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
> ?
>
>
>
>
>
Re: what is needed to index for about 10000 domains
Posted by John Martyniak <jo...@beforedawn.com>.
Regarding the machine, you could run it on anything, it all depends
what kind of performance you want. So yes you could run it on the
machine that you have or something like the linux machine that I
have. And the DSL connection should be fine, you just need to make
sure that it stays up the whole time, because if not it will start
erring out, and you will have to re-fetch that whole segment as there
is no way to pick up from where you left off.
The only reason that I merged the segments was that I had many of
them, and I wanted to build a big one before I started creating new
ones, another advantage of merging is that you can use that to clear
out unwanted urls. For example I had a bunch of .js files in there,
that I didn't want to have as part of the index, so I cleared them out.
I used "bin/nutch mergesegs".
Regarding merging the other parts, I have never used, but I don't
think that it is necessary unless you have multiple linkdbs, etc. in
my case I do not.
-John
On Mar 3, 2009, at 7:14 PM, alxsss@aim.com wrote:
>
> Hi,
>
> I will need to index all links in domains then. What do you think a
> linux box like yours with DSL connection is OK to index the domains
> I have?
>
> Why only segments? I thought we need to merge all sub folders under
> crawl folder. What did you use for merging them?
>
> Thanks.
> A.
>
>
>
>
>
>
>
> -----Original Message-----
> From: John Martyniak <jo...@beforedawn.com>
> To: nutch-user@lucene.apache.org
> Sent: Tue, 3 Mar 2009 3:21 pm
> Subject: Re: what is needed to index for about 10000 domains
>
>
>
>
>
>
>
>
>
> Well the way that nutch works is that you would inject your list of
> domains into the DB, and that would be the starting point. Since
> nutch uses a crawler it would grab those pages, and determine if
> there are any links on those pages, and then add them to the DB. So
> the next time that you generated your urls to fetch, it would take
> your original list, plus the ones that it found to generate the new
> segment.?
> ?
>
> If you wanted to limit it to only pages contained on your 10000
> domains, you could use the regex-urlfilter.txt file in the conf
> directory to limit it to your list. But you would have to create a
> regular expression for each one.?
> ?
>
> I am not familiar with the merge script on the wiki, but have merged
> segments before and it did work. But that was on Linux, don't think
> that should make a difference though.?
> ?
>
> -John?
> ?
>
> ?
>
> On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
> ?
>
>> ?
>
>> Hi,?
>
>> ?
>
>> Thanks for the reply. I have list? of those domains only. I am not
>> > sure how many pages they have. Is a DSL? connection sufficient to
>> > run nutch in my case. Did you run nutch for all of your pages at
>> > once or separately for a given subset of them. Btw, yesterday I >
>> tried to use merge shell script that we have on wiki. It gave a lot
>> > of errors. I run it on cygwin though.?
>
>> ?
>
>> Thanks.?
>
>> A.?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> -----Original Message-----?
>
>> From: John Martyniak <jo...@beforedawn.com>?
>
>> To: nutch-user@lucene.apache.org?
>
>> Sent: Tue, 3 Mar 2009 1:44 pm?
>
>> Subject: Re: what is needed to index for about 10000 domains?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> I think that in order to answer that questions, it is necessary to
>> > know how many total pages are being indexed.??
>
>> ??
>
>> ?
>
>> I currently have ~3.5 million pages indexed, and the segment >
>> directories are around 45GB, The response time is relatively fast.??
>
>> ??
>
>> ?
>
>> In the test site it is running on a dual processor Dell 1850 with >
>> 3GB of RAM.??
>
>> ??
>
>> ?
>
>> -John??
>
>> ??
>
>> ?
>
>> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
>
>> ??
>
>> ?
>
>>> Hello,??
>
>> ?
>
>>> ??
>
>> ?
>
>>> I use nutch-0.9 and need to index about 10000? domains.? I want to
>>> >> > know? minimum requirements to hardware and memory.??
>
>> ?
>
>>> ??
>
>> ?
>
>>> Thanks in advance.??
>
>> ?
>
>>> Alex.??
>
>> ??
>
>> ?
>
>> ?
>
>> ?
>
>> ?
>
>> ?
> ?
>
>
>
>
>
Re: what is needed to index for about 10000 domains
Posted by al...@aim.com.
Hi,
I will need to index all links in domains then. What do you think a linux box like yours with DSL connection is OK to index the domains I have?
Why only segments? I thought we need to merge all sub folders under crawl folder. What did you use for merging them?
Thanks.
A.
-----Original Message-----
From: John Martyniak <jo...@beforedawn.com>
To: nutch-user@lucene.apache.org
Sent: Tue, 3 Mar 2009 3:21 pm
Subject: Re: what is needed to index for about 10000 domains
Well the way that nutch works is that you would inject your list of domains into the DB, and that would be the starting point. Since nutch uses a crawler it would grab those pages, and determine if there are any links on those pages, and then add them to the DB. So the next time that you generated your urls to fetch, it would take your original list, plus the ones that it found to generate the new segment.?
?
If you wanted to limit it to only pages contained on your 10000 domains, you could use the regex-urlfilter.txt file in the conf directory to limit it to your list. But you would have to create a regular expression for each one.?
?
I am not familiar with the merge script on the wiki, but have merged segments before and it did work. But that was on Linux, don't think that should make a difference though.?
?
-John?
?
?
On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:?
?
>?
> Hi,?
>?
> Thanks for the reply. I have list? of those domains only. I am not > sure how many pages they have. Is a DSL? connection sufficient to > run nutch in my case. Did you run nutch for all of your pages at > once or separately for a given subset of them. Btw, yesterday I > tried to use merge shell script that we have on wiki. It gave a lot > of errors. I run it on cygwin though.?
>?
> Thanks.?
> A.?
>?
>?
>?
>?
>?
>?
>?
> -----Original Message-----?
> From: John Martyniak <jo...@beforedawn.com>?
> To: nutch-user@lucene.apache.org?
> Sent: Tue, 3 Mar 2009 1:44 pm?
> Subject: Re: what is needed to index for about 10000 domains?
>?
>?
>?
>?
>?
>?
>?
>?
>?
> I think that in order to answer that questions, it is necessary to > know how many total pages are being indexed.??
> ??
>?
> I currently have ~3.5 million pages indexed, and the segment > directories are around 45GB, The response time is relatively fast.??
> ??
>?
> In the test site it is running on a dual processor Dell 1850 with > 3GB of RAM.??
> ??
>?
> -John??
> ??
>?
> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:??
> ??
>?
>> Hello,??
>?
>> ??
>?
>> I use nutch-0.9 and need to index about 10000? domains.? I want to >> > know? minimum requirements to hardware and memory.??
>?
>> ??
>?
>> Thanks in advance.??
>?
>> Alex.??
> ??
>?
>?
>?
>?
>?
?
Re: what is needed to index for about 10000 domains
Posted by John Martyniak <jo...@beforedawn.com>.
Well the way that nutch works is that you would inject your list of
domains into the DB, and that would be the starting point. Since
nutch uses a crawler it would grab those pages, and determine if there
are any links on those pages, and then add them to the DB. So the
next time that you generated your urls to fetch, it would take your
original list, plus the ones that it found to generate the new segment.
If you wanted to limit it to only pages contained on your 10000
domains, you could use the regex-urlfilter.txt file in the conf
directory to limit it to your list. But you would have to create a
regular expression for each one.
I am not familiar with the merge script on the wiki, but have merged
segments before and it did work. But that was on Linux, don't think
that should make a difference though.
-John
On Mar 3, 2009, at 5:10 PM, alxsss@aim.com wrote:
>
> Hi,
>
> Thanks for the reply. I have list? of those domains only. I am not
> sure how many pages they have. Is a DSL? connection sufficient to
> run nutch in my case. Did you run nutch for all of your pages at
> once or separately for a given subset of them. Btw, yesterday I
> tried to use merge shell script that we have on wiki. It gave a lot
> of errors. I run it on cygwin though.
>
> Thanks.
> A.
>
>
>
>
>
>
>
> -----Original Message-----
> From: John Martyniak <jo...@beforedawn.com>
> To: nutch-user@lucene.apache.org
> Sent: Tue, 3 Mar 2009 1:44 pm
> Subject: Re: what is needed to index for about 10000 domains
>
>
>
>
>
>
>
>
>
> I think that in order to answer that questions, it is necessary to
> know how many total pages are being indexed.?
> ?
>
> I currently have ~3.5 million pages indexed, and the segment
> directories are around 45GB, The response time is relatively fast.?
> ?
>
> In the test site it is running on a dual processor Dell 1850 with
> 3GB of RAM.?
> ?
>
> -John?
> ?
>
> On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:?
> ?
>
>> Hello,?
>
>> ?
>
>> I use nutch-0.9 and need to index about 10000? domains.? I want to
>> > know? minimum requirements to hardware and memory.?
>
>> ?
>
>> Thanks in advance.?
>
>> Alex.?
> ?
>
>
>
>
>
Re: what is needed to index for about 10000 domains
Posted by al...@aim.com.
Hi,
Thanks for the reply. I have list? of those domains only. I am not sure how many pages they have. Is a DSL? connection sufficient to run nutch in my case. Did you run nutch for all of your pages at once or separately for a given subset of them. Btw, yesterday I tried to use merge shell script that we have on wiki. It gave a lot of errors. I run it on cygwin though.
Thanks.
A.
-----Original Message-----
From: John Martyniak <jo...@beforedawn.com>
To: nutch-user@lucene.apache.org
Sent: Tue, 3 Mar 2009 1:44 pm
Subject: Re: what is needed to index for about 10000 domains
I think that in order to answer that questions, it is necessary to know how many total pages are being indexed.?
?
I currently have ~3.5 million pages indexed, and the segment directories are around 45GB, The response time is relatively fast.?
?
In the test site it is running on a dual processor Dell 1850 with 3GB of RAM.?
?
-John?
?
On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:?
?
> Hello,?
>?
> I use nutch-0.9 and need to index about 10000? domains.? I want to > know? minimum requirements to hardware and memory.?
>?
> Thanks in advance.?
> Alex.?
?
Re: what is needed to index for about 10000 domains
Posted by John Martyniak <jo...@beforedawn.com>.
I think that in order to answer that questions, it is necessary to
know how many total pages are being indexed.
I currently have ~3.5 million pages indexed, and the segment
directories are around 45GB, The response time is relatively fast.
In the test site it is running on a dual processor Dell 1850 with 3GB
of RAM.
-John
On Mar 3, 2009, at 3:44 PM, alxsss@aim.com wrote:
> Hello,
>
> I use nutch-0.9 and need to index about 10000? domains.? I want to
> know? minimum requirements to hardware and memory.
>
> Thanks in advance.
> Alex.
what is needed to index for about 10000 domains
Posted by al...@aim.com.
Hello,
I use nutch-0.9 and need to index about 10000? domains.? I want to know? minimum requirements to hardware and memory.
Thanks in advance.
Alex.
Re: why I cannot find this link?
Posted by Yves Yu <yv...@gmail.com>.
Thank you for your answer, I will try it.
2009/3/4 yanky young <ya...@gmail.com>
> yes, good tips. Luke is the scalpel of nutch developers. you can try it.
>
> good luck
>
> yanky
>
>
> 2009/3/4 Jasper Kamperman <ja...@openwaternet.com>
>
> > This does seem strange. In cases like this I find the best approach is to
> > use Luke to
> > see what's in the index -- what do the fields in the Lucene Document look
> > like, is there
> > maybe a truncation or did the page not get parsed right?
> >
> >
> > On Mar 3, 2009, at 6:20 PM, yanky young wrote:
> >
> > sorry, i have no idea about this question. i guess there must be some
> kind
> >> of index leakage in nutch indexing process. some words must be ignored
> in
> >> indexing process. but why? i don't know either. hope someone else can
> >> answer
> >> your question.
> >>
> >> good luck
> >>
> >> yanky
> >>
> >>
> >> 2009/3/4 Yves Yu <yv...@gmail.com>
> >>
> >> Hi,
> >>>
> >>> And, these is another question if you don't feel boring ~~)
> >>> for example
> >>>
> >>> in
> >>>
> >>>
> >>>
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
> >>>
> >>> there is a phase "The summit will provide a good opportunity", I can
> find
> >>> this page by the word "good", but if I add words to search, ex: search
> >>> "opportunity" or "good opportunity", I found nothing.
> >>>
> >>> why?
> >>>
> >>> Yves
> >>>
> >>>
> >>> 2009/3/4 yanky young <ya...@gmail.com>
> >>>
> >>> Hi:
> >>>>
> >>>> because they are actually the same page, you can only fine one. here
> is
> >>>> what
> >>>> i see when i use wget to fetch http://app02.laopdr.gov.la/:
> >>>>
> >>>> C:\Documents and Settings\yanky>wget http://app02.laopdr.gov.la
> >>>> --2009-03-03 23:41:19-- http://app02.laopdr.gov.la/
> >>>> Resolving app02.laopdr.gov.la... 203.110.66.105
> >>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> >>>> HTTP request sent, awaiting response... 302 Moved Temporarily
> >>>> Location: http://app02.laopdr.gov.la/ePortal [following]
> >>>> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal
> >>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> >>>> HTTP request sent, awaiting response... 302 Moved Temporarily
> >>>> Location: http://app02.laopdr.gov.la/ePortal/ [following]
> >>>> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal/
> >>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> >>>> HTTP request sent, awaiting response... 302 Moved Temporarily
> >>>> Location:
> >>>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_
> >>>> US [following]
> >>>> --2009-03-03 23:41:21--
> >>>> http://app02.laopdr.gov.la/ePortal/home/home.action?req
> >>>> uest_locale=en_US
> >>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> >>>> HTTP request sent, awaiting response... 200 OK
> >>>> Length: unspecified [text/html]
> >>>> Saving to: `home.action@request_locale=en_US'
> >>>>
> >>>> you must see that through several steps of 302 status,
> >>>> http://app02.laopdr.gov.la arrives at
> >>>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >>>>
> >>> ,
> >>>
> >>>> so
> >>>> when nutch fetches http://app02.laopdr.gov.la, it actually fetches
> >>>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >>>>
> >>> ,
> >>>
> >>>> so
> >>>> finally only the page content of
> >>>>
> >>>>
> >>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_USis
> >>>
> >>>> fetched and indexed.
> >>>>
> >>>> that doesn't have anything to do with dynamic pages. it is about how
> >>>>
> >>> nutch
> >>>
> >>>> process 302 status.
> >>>>
> >>>> good luck
> >>>>
> >>>> yanky
> >>>>
> >>>> 2009/3/4 Yves Yu <yv...@gmail.com>
> >>>>
> >>>> thank you for your answer.
> >>>>> I'm feeling strange because http://app02.laopdr.gov.la/ just as same
> >>>>>
> >>>> as
> >>>
> >>>>
> >>>>>
> >>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >>>
> >>>> but I cannot find it.
> >>>>>
> >>>>> you could see a few frames such as "Hot Event", "Businees" in
> >>>>>
> >>>>>
> >>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >>>
> >>>> when I copy a few words in these frames, I cannot find this homepage.
> >>>>> but nutch can find the page which in "more>>" by same words.
> >>>>>
> >>>>> I can see both http://app02.laopdr.gov.la/ and
> >>>>>
> >>>>>
> >>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >>>
> >>>> in my fetch log, but I just cannot find the page.
> >>>>>
> >>>>> I'm doubting about dynamic pages... is that reasonable?
> >>>>>
> >>>>> 2009/3/3 yanky young <ya...@gmail.com>
> >>>>> - 显示引用文字 -
> >>>>>
> >>>>> Hi:
> >>>>>>
> >>>>>> Why do u think nutch can't find
> >>>>>>
> >>>>>>
> >>>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >>>>
> >>>>>
> >>>>>> Actually http://app02.laopdr.gov.la/ is the same page as
> >>>>>>
> >>>>>>
> >>>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >>>>
> >>>>>
> >>>>>> if you find http://app02.laopdr.gov.la in your log, the page you
> >>>>>>
> >>>>> said
> >>>
> >>>> must
> >>>>>> be downloaded..
> >>>>>>
> >>>>>> good luck
> >>>>>>
> >>>>>> yanky
> >>>>>>
> >>>>>> 2009/3/3 Yves Yu <yv...@gmail.com>
> >>>>>>
> >>>>>> Hi, all,
> >>>>>>>
> >>>>>>> I met a situation, need help, thank you in advance.
> >>>>>>> I added
> >>>>>>> http://app02.laopdr.gov.la/
> >>>>>>> into urls.txt
> >>>>>>>
> >>>>>>> nutch can find
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
> >>>
> >>>>
> >>>>>>> but nutch cannot find
> >>>>>>>
> >>>>>>>
> >>>>>
> >>>
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >>>
> >>>>
> >>>>>>> anybody has any idea?
> >>>>>>>
> >>>>>>> Yves
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >
>
Re: why I cannot find this link?
Posted by yanky young <ya...@gmail.com>.
yes, good tips. Luke is the scalpel of nutch developers. you can try it.
good luck
yanky
2009/3/4 Jasper Kamperman <ja...@openwaternet.com>
> This does seem strange. In cases like this I find the best approach is to
> use Luke to
> see what's in the index -- what do the fields in the Lucene Document look
> like, is there
> maybe a truncation or did the page not get parsed right?
>
>
> On Mar 3, 2009, at 6:20 PM, yanky young wrote:
>
> sorry, i have no idea about this question. i guess there must be some kind
>> of index leakage in nutch indexing process. some words must be ignored in
>> indexing process. but why? i don't know either. hope someone else can
>> answer
>> your question.
>>
>> good luck
>>
>> yanky
>>
>>
>> 2009/3/4 Yves Yu <yv...@gmail.com>
>>
>> Hi,
>>>
>>> And, these is another question if you don't feel boring ~~)
>>> for example
>>>
>>> in
>>>
>>>
>>> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
>>>
>>> there is a phase "The summit will provide a good opportunity", I can find
>>> this page by the word "good", but if I add words to search, ex: search
>>> "opportunity" or "good opportunity", I found nothing.
>>>
>>> why?
>>>
>>> Yves
>>>
>>>
>>> 2009/3/4 yanky young <ya...@gmail.com>
>>>
>>> Hi:
>>>>
>>>> because they are actually the same page, you can only fine one. here is
>>>> what
>>>> i see when i use wget to fetch http://app02.laopdr.gov.la/:
>>>>
>>>> C:\Documents and Settings\yanky>wget http://app02.laopdr.gov.la
>>>> --2009-03-03 23:41:19-- http://app02.laopdr.gov.la/
>>>> Resolving app02.laopdr.gov.la... 203.110.66.105
>>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
>>>> HTTP request sent, awaiting response... 302 Moved Temporarily
>>>> Location: http://app02.laopdr.gov.la/ePortal [following]
>>>> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal
>>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
>>>> HTTP request sent, awaiting response... 302 Moved Temporarily
>>>> Location: http://app02.laopdr.gov.la/ePortal/ [following]
>>>> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal/
>>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
>>>> HTTP request sent, awaiting response... 302 Moved Temporarily
>>>> Location:
>>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_
>>>> US [following]
>>>> --2009-03-03 23:41:21--
>>>> http://app02.laopdr.gov.la/ePortal/home/home.action?req
>>>> uest_locale=en_US
>>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
>>>> HTTP request sent, awaiting response... 200 OK
>>>> Length: unspecified [text/html]
>>>> Saving to: `home.action@request_locale=en_US'
>>>>
>>>> you must see that through several steps of 302 status,
>>>> http://app02.laopdr.gov.la arrives at
>>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>>
>>> ,
>>>
>>>> so
>>>> when nutch fetches http://app02.laopdr.gov.la, it actually fetches
>>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>>
>>> ,
>>>
>>>> so
>>>> finally only the page content of
>>>>
>>>>
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_USis
>>>
>>>> fetched and indexed.
>>>>
>>>> that doesn't have anything to do with dynamic pages. it is about how
>>>>
>>> nutch
>>>
>>>> process 302 status.
>>>>
>>>> good luck
>>>>
>>>> yanky
>>>>
>>>> 2009/3/4 Yves Yu <yv...@gmail.com>
>>>>
>>>> thank you for your answer.
>>>>> I'm feeling strange because http://app02.laopdr.gov.la/ just as same
>>>>>
>>>> as
>>>
>>>>
>>>>>
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>
>>>> but I cannot find it.
>>>>>
>>>>> you could see a few frames such as "Hot Event", "Businees" in
>>>>>
>>>>>
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>
>>>> when I copy a few words in these frames, I cannot find this homepage.
>>>>> but nutch can find the page which in "more>>" by same words.
>>>>>
>>>>> I can see both http://app02.laopdr.gov.la/ and
>>>>>
>>>>>
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>
>>>> in my fetch log, but I just cannot find the page.
>>>>>
>>>>> I'm doubting about dynamic pages... is that reasonable?
>>>>>
>>>>> 2009/3/3 yanky young <ya...@gmail.com>
>>>>> - 显示引用文字 -
>>>>>
>>>>> Hi:
>>>>>>
>>>>>> Why do u think nutch can't find
>>>>>>
>>>>>>
>>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>>
>>>>>
>>>>>> Actually http://app02.laopdr.gov.la/ is the same page as
>>>>>>
>>>>>>
>>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>>
>>>>>
>>>>>> if you find http://app02.laopdr.gov.la in your log, the page you
>>>>>>
>>>>> said
>>>
>>>> must
>>>>>> be downloaded..
>>>>>>
>>>>>> good luck
>>>>>>
>>>>>> yanky
>>>>>>
>>>>>> 2009/3/3 Yves Yu <yv...@gmail.com>
>>>>>>
>>>>>> Hi, all,
>>>>>>>
>>>>>>> I met a situation, need help, thank you in advance.
>>>>>>> I added
>>>>>>> http://app02.laopdr.gov.la/
>>>>>>> into urls.txt
>>>>>>>
>>>>>>> nutch can find
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
>>>
>>>>
>>>>>>> but nutch cannot find
>>>>>>>
>>>>>>>
>>>>>
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>
>>>>
>>>>>>> anybody has any idea?
>>>>>>>
>>>>>>> Yves
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>
Re: why I cannot find this link?
Posted by Jasper Kamperman <ja...@openwaternet.com>.
This does seem strange. In cases like this I find the best approach is
to use Luke to
see what's in the index -- what do the fields in the Lucene Document
look like, is there
maybe a truncation or did the page not get parsed right?
On Mar 3, 2009, at 6:20 PM, yanky young wrote:
> sorry, i have no idea about this question. i guess there must be
> some kind
> of index leakage in nutch indexing process. some words must be
> ignored in
> indexing process. but why? i don't know either. hope someone else
> can answer
> your question.
>
> good luck
>
> yanky
>
>
> 2009/3/4 Yves Yu <yv...@gmail.com>
>
>> Hi,
>>
>> And, these is another question if you don't feel boring ~~)
>> for example
>>
>> in
>>
>> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
>>
>> there is a phase "The summit will provide a good opportunity", I
>> can find
>> this page by the word "good", but if I add words to search, ex:
>> search
>> "opportunity" or "good opportunity", I found nothing.
>>
>> why?
>>
>> Yves
>>
>>
>> 2009/3/4 yanky young <ya...@gmail.com>
>>
>>> Hi:
>>>
>>> because they are actually the same page, you can only fine one.
>>> here is
>>> what
>>> i see when i use wget to fetch http://app02.laopdr.gov.la/:
>>>
>>> C:\Documents and Settings\yanky>wget http://app02.laopdr.gov.la
>>> --2009-03-03 23:41:19-- http://app02.laopdr.gov.la/
>>> Resolving app02.laopdr.gov.la... 203.110.66.105
>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
>>> HTTP request sent, awaiting response... 302 Moved Temporarily
>>> Location: http://app02.laopdr.gov.la/ePortal [following]
>>> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal
>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
>>> HTTP request sent, awaiting response... 302 Moved Temporarily
>>> Location: http://app02.laopdr.gov.la/ePortal/ [following]
>>> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal/
>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
>>> HTTP request sent, awaiting response... 302 Moved Temporarily
>>> Location:
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_
>>> US [following]
>>> --2009-03-03 23:41:21--
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?req
>>> uest_locale=en_US
>>> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
>>> HTTP request sent, awaiting response... 200 OK
>>> Length: unspecified [text/html]
>>> Saving to: `home.action@request_locale=en_US'
>>>
>>> you must see that through several steps of 302 status,
>>> http://app02.laopdr.gov.la arrives at
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>> ,
>>> so
>>> when nutch fetches http://app02.laopdr.gov.la, it actually fetches
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>> ,
>>> so
>>> finally only the page content of
>>>
>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_USis
>>> fetched and indexed.
>>>
>>> that doesn't have anything to do with dynamic pages. it is about how
>> nutch
>>> process 302 status.
>>>
>>> good luck
>>>
>>> yanky
>>>
>>> 2009/3/4 Yves Yu <yv...@gmail.com>
>>>
>>>> thank you for your answer.
>>>> I'm feeling strange because http://app02.laopdr.gov.la/ just as
>>>> same
>> as
>>>>
>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>> but I cannot find it.
>>>>
>>>> you could see a few frames such as "Hot Event", "Businees" in
>>>>
>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>> when I copy a few words in these frames, I cannot find this
>>>> homepage.
>>>> but nutch can find the page which in "more>>" by same words.
>>>>
>>>> I can see both http://app02.laopdr.gov.la/ and
>>>>
>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>> in my fetch log, but I just cannot find the page.
>>>>
>>>> I'm doubting about dynamic pages... is that reasonable?
>>>>
>>>> 2009/3/3 yanky young <ya...@gmail.com>
>>>> - 显示引用文字 -
>>>>
>>>>> Hi:
>>>>>
>>>>> Why do u think nutch can't find
>>>>>
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>>>
>>>>> Actually http://app02.laopdr.gov.la/ is the same page as
>>>>>
>>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>>>
>>>>> if you find http://app02.laopdr.gov.la in your log, the page you
>> said
>>>>> must
>>>>> be downloaded..
>>>>>
>>>>> good luck
>>>>>
>>>>> yanky
>>>>>
>>>>> 2009/3/3 Yves Yu <yv...@gmail.com>
>>>>>
>>>>>> Hi, all,
>>>>>>
>>>>>> I met a situation, need help, thank you in advance.
>>>>>> I added
>>>>>> http://app02.laopdr.gov.la/
>>>>>> into urls.txt
>>>>>>
>>>>>> nutch can find
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
>>>>>>
>>>>>> but nutch cannot find
>>>>>>
>>>>
>> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>>>>>>
>>>>>> anybody has any idea?
>>>>>>
>>>>>> Yves
>>>>>>
>>>>>
>>>>
>>>
>>
Re: why I cannot find this link?
Posted by yanky young <ya...@gmail.com>.
sorry, i have no idea about this question. i guess there must be some kind
of index leakage in nutch indexing process. some words must be ignored in
indexing process. but why? i don't know either. hope someone else can answer
your question.
good luck
yanky
2009/3/4 Yves Yu <yv...@gmail.com>
> Hi,
>
> And, these is another question if you don't feel boring ~~)
> for example
>
> in
>
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
>
> there is a phase "The summit will provide a good opportunity", I can find
> this page by the word "good", but if I add words to search, ex: search
> "opportunity" or "good opportunity", I found nothing.
>
> why?
>
> Yves
>
>
> 2009/3/4 yanky young <ya...@gmail.com>
>
> > Hi:
> >
> > because they are actually the same page, you can only fine one. here is
> > what
> > i see when i use wget to fetch http://app02.laopdr.gov.la/:
> >
> > C:\Documents and Settings\yanky>wget http://app02.laopdr.gov.la
> > --2009-03-03 23:41:19-- http://app02.laopdr.gov.la/
> > Resolving app02.laopdr.gov.la... 203.110.66.105
> > Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> > HTTP request sent, awaiting response... 302 Moved Temporarily
> > Location: http://app02.laopdr.gov.la/ePortal [following]
> > --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal
> > Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> > HTTP request sent, awaiting response... 302 Moved Temporarily
> > Location: http://app02.laopdr.gov.la/ePortal/ [following]
> > --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal/
> > Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> > HTTP request sent, awaiting response... 302 Moved Temporarily
> > Location:
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_
> > US [following]
> > --2009-03-03 23:41:21--
> > http://app02.laopdr.gov.la/ePortal/home/home.action?req
> > uest_locale=en_US
> > Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: unspecified [text/html]
> > Saving to: `home.action@request_locale=en_US'
> >
> > you must see that through several steps of 302 status,
> > http://app02.laopdr.gov.la arrives at
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> ,
> > so
> > when nutch fetches http://app02.laopdr.gov.la, it actually fetches
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> ,
> > so
> > finally only the page content of
> >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_USis
> > fetched and indexed.
> >
> > that doesn't have anything to do with dynamic pages. it is about how
> nutch
> > process 302 status.
> >
> > good luck
> >
> > yanky
> >
> > 2009/3/4 Yves Yu <yv...@gmail.com>
> >
> > > thank you for your answer.
> > > I'm feeling strange because http://app02.laopdr.gov.la/ just as same
> as
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > > but I cannot find it.
> > >
> > > you could see a few frames such as "Hot Event", "Businees" in
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > > when I copy a few words in these frames, I cannot find this homepage.
> > > but nutch can find the page which in "more>>" by same words.
> > >
> > > I can see both http://app02.laopdr.gov.la/ and
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > > in my fetch log, but I just cannot find the page.
> > >
> > > I'm doubting about dynamic pages... is that reasonable?
> > >
> > > 2009/3/3 yanky young <ya...@gmail.com>
> > > - 显示引用文字 -
> > >
> > > > Hi:
> > > >
> > > > Why do u think nutch can't find
> > > >
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > > >
> > > > Actually http://app02.laopdr.gov.la/ is the same page as
> > > >
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > > >
> > > > if you find http://app02.laopdr.gov.la in your log, the page you
> said
> > > > must
> > > > be downloaded..
> > > >
> > > > good luck
> > > >
> > > > yanky
> > > >
> > > > 2009/3/3 Yves Yu <yv...@gmail.com>
> > > >
> > > > > Hi, all,
> > > > >
> > > > > I met a situation, need help, thank you in advance.
> > > > > I added
> > > > > http://app02.laopdr.gov.la/
> > > > > into urls.txt
> > > > >
> > > > > nutch can find
> > > > >
> > > > >
> > > >
> > >
> >
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
> > > > >
> > > > > but nutch cannot find
> > > > >
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > > > >
> > > > > anybody has any idea?
> > > > >
> > > > > Yves
> > > > >
> > > >
> > >
> >
>
Re: why I cannot find this link?
Posted by Yves Yu <yv...@gmail.com>.
Hi,
And, these is another question if you don't feel boring ~~)
for example
in
http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
there is a phase "The summit will provide a good opportunity", I can find
this page by the word "good", but if I add words to search, ex: search
"opportunity" or "good opportunity", I found nothing.
why?
Yves
2009/3/4 yanky young <ya...@gmail.com>
> Hi:
>
> because they are actually the same page, you can only fine one. here is
> what
> i see when i use wget to fetch http://app02.laopdr.gov.la/:
>
> C:\Documents and Settings\yanky>wget http://app02.laopdr.gov.la
> --2009-03-03 23:41:19-- http://app02.laopdr.gov.la/
> Resolving app02.laopdr.gov.la... 203.110.66.105
> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: http://app02.laopdr.gov.la/ePortal [following]
> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal
> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: http://app02.laopdr.gov.la/ePortal/ [following]
> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal/
> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location:
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_
> US [following]
> --2009-03-03 23:41:21--
> http://app02.laopdr.gov.la/ePortal/home/home.action?req
> uest_locale=en_US
> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: `home.action@request_locale=en_US'
>
> you must see that through several steps of 302 status,
> http://app02.laopdr.gov.la arrives at
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US,
> so
> when nutch fetches http://app02.laopdr.gov.la, it actually fetches
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US,
> so
> finally only the page content of
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_USis
> fetched and indexed.
>
> that doesn't have anything to do with dynamic pages. it is about how nutch
> process 302 status.
>
> good luck
>
> yanky
>
> 2009/3/4 Yves Yu <yv...@gmail.com>
>
> > thank you for your answer.
> > I'm feeling strange because http://app02.laopdr.gov.la/ just as same as
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > but I cannot find it.
> >
> > you could see a few frames such as "Hot Event", "Businees" in
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > when I copy a few words in these frames, I cannot find this homepage.
> > but nutch can find the page which in "more>>" by same words.
> >
> > I can see both http://app02.laopdr.gov.la/ and
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > in my fetch log, but I just cannot find the page.
> >
> > I'm doubting about dynamic pages... is that reasonable?
> >
> > 2009/3/3 yanky young <ya...@gmail.com>
> > - 显示引用文字 -
> >
> > > Hi:
> > >
> > > Why do u think nutch can't find
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > >
> > > Actually http://app02.laopdr.gov.la/ is the same page as
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > >
> > > if you find http://app02.laopdr.gov.la in your log, the page you said
> > > must
> > > be downloaded..
> > >
> > > good luck
> > >
> > > yanky
> > >
> > > 2009/3/3 Yves Yu <yv...@gmail.com>
> > >
> > > > Hi, all,
> > > >
> > > > I met a situation, need help, thank you in advance.
> > > > I added
> > > > http://app02.laopdr.gov.la/
> > > > into urls.txt
> > > >
> > > > nutch can find
> > > >
> > > >
> > >
> >
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
> > > >
> > > > but nutch cannot find
> > > >
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > > >
> > > > anybody has any idea?
> > > >
> > > > Yves
> > > >
> > >
> >
>
Re: why I cannot find this link?
Posted by Yves Yu <yv...@gmail.com>.
Thank you very much, I think it's very helpful ~~)
2009/3/4 yanky young <ya...@gmail.com>
> Hi:
>
> because they are actually the same page, you can only fine one. here is
> what
> i see when i use wget to fetch http://app02.laopdr.gov.la/:
>
> C:\Documents and Settings\yanky>wget http://app02.laopdr.gov.la
> --2009-03-03 23:41:19-- http://app02.laopdr.gov.la/
> Resolving app02.laopdr.gov.la... 203.110.66.105
> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: http://app02.laopdr.gov.la/ePortal [following]
> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal
> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: http://app02.laopdr.gov.la/ePortal/ [following]
> --2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal/
> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location:
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_
> US [following]
> --2009-03-03 23:41:21--
> http://app02.laopdr.gov.la/ePortal/home/home.action?req
> uest_locale=en_US
> Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: `home.action@request_locale=en_US'
>
> you must see that through several steps of 302 status,
> http://app02.laopdr.gov.la arrives at
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US,
> so
> when nutch fetches http://app02.laopdr.gov.la, it actually fetches
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US,
> so
> finally only the page content of
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_USis
> fetched and indexed.
>
> that doesn't have anything to do with dynamic pages. it is about how nutch
> process 302 status.
>
> good luck
>
> yanky
>
> 2009/3/4 Yves Yu <yv...@gmail.com>
>
> > thank you for your answer.
> > I'm feeling strange because http://app02.laopdr.gov.la/ just as same as
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > but I cannot find it.
> >
> > you could see a few frames such as "Hot Event", "Businees" in
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > when I copy a few words in these frames, I cannot find this homepage.
> > but nutch can find the page which in "more>>" by same words.
> >
> > I can see both http://app02.laopdr.gov.la/ and
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > in my fetch log, but I just cannot find the page.
> >
> > I'm doubting about dynamic pages... is that reasonable?
> >
> > 2009/3/3 yanky young <ya...@gmail.com>
> > - 显示引用文字 -
> >
> > > Hi:
> > >
> > > Why do u think nutch can't find
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > >
> > > Actually http://app02.laopdr.gov.la/ is the same page as
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > >
> > > if you find http://app02.laopdr.gov.la in your log, the page you said
> > > must
> > > be downloaded..
> > >
> > > good luck
> > >
> > > yanky
> > >
> > > 2009/3/3 Yves Yu <yv...@gmail.com>
> > >
> > > > Hi, all,
> > > >
> > > > I met a situation, need help, thank you in advance.
> > > > I added
> > > > http://app02.laopdr.gov.la/
> > > > into urls.txt
> > > >
> > > > nutch can find
> > > >
> > > >
> > >
> >
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
> > > >
> > > > but nutch cannot find
> > > >
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > > >
> > > > anybody has any idea?
> > > >
> > > > Yves
> > > >
> > >
> >
>
Re: why I cannot find this link?
Posted by yanky young <ya...@gmail.com>.
Hi:
because they are actually the same page, you can only fine one. here is what
i see when i use wget to fetch http://app02.laopdr.gov.la/:
C:\Documents and Settings\yanky>wget http://app02.laopdr.gov.la
--2009-03-03 23:41:19-- http://app02.laopdr.gov.la/
Resolving app02.laopdr.gov.la... 203.110.66.105
Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://app02.laopdr.gov.la/ePortal [following]
--2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal
Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://app02.laopdr.gov.la/ePortal/ [following]
--2009-03-03 23:41:20-- http://app02.laopdr.gov.la/ePortal/
Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location:
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_
US [following]
--2009-03-03 23:41:21--
http://app02.laopdr.gov.la/ePortal/home/home.action?req
uest_locale=en_US
Connecting to app02.laopdr.gov.la|203.110.66.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `home.action@request_locale=en_US'
you must see that through several steps of 302 status,
http://app02.laopdr.gov.la arrives at
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US, so
when nutch fetches http://app02.laopdr.gov.la, it actually fetches
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US, so
finally only the page content of
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US is
fetched and indexed.
that doesn't have anything to do with dynamic pages. it is about how nutch
process 302 status.
good luck
yanky
2009/3/4 Yves Yu <yv...@gmail.com>
> thank you for your answer.
> I'm feeling strange because http://app02.laopdr.gov.la/ just as same as
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> but I cannot find it.
>
> you could see a few frames such as "Hot Event", "Businees" in
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> when I copy a few words in these frames, I cannot find this homepage.
> but nutch can find the page which in "more>>" by same words.
>
> I can see both http://app02.laopdr.gov.la/ and
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> in my fetch log, but I just cannot find the page.
>
> I'm doubting about dynamic pages... is that reasonable?
>
> 2009/3/3 yanky young <ya...@gmail.com>
> - 显示引用文字 -
>
> > Hi:
> >
> > Why do u think nutch can't find
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >
> > Actually http://app02.laopdr.gov.la/ is the same page as
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >
> > if you find http://app02.laopdr.gov.la in your log, the page you said
> > must
> > be downloaded..
> >
> > good luck
> >
> > yanky
> >
> > 2009/3/3 Yves Yu <yv...@gmail.com>
> >
> > > Hi, all,
> > >
> > > I met a situation, need help, thank you in advance.
> > > I added
> > > http://app02.laopdr.gov.la/
> > > into urls.txt
> > >
> > > nutch can find
> > >
> > >
> >
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
> > >
> > > but nutch cannot find
> > >
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> > >
> > > anybody has any idea?
> > >
> > > Yves
> > >
> >
>
Re: why I cannot find this link?
Posted by Yves Yu <yv...@gmail.com>.
thank you for your answer.
I'm feeling strange because http://app02.laopdr.gov.la/ just as same as
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
but I cannot find it.
you could see a few frames such as "Hot Event", "Businees" in
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
when I copy a few words in these frames, I cannot find this homepage.
but nutch can find the page which in "more>>" by same words.
I can see both http://app02.laopdr.gov.la/ and
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
in my fetch log, but I just cannot find the page.
I'm doubting about dynamic pages... is that reasonable?
2009/3/3 yanky young <ya...@gmail.com>
> Hi:
>
> Why do u think nutch can't find
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>
> Actually http://app02.laopdr.gov.la/ is the same page as
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>
> if you find http://app02.laopdr.gov.la in your log, the page you said
> must
> be downloaded..
>
> good luck
>
> yanky
>
> 2009/3/3 Yves Yu <yv...@gmail.com>
>
> > Hi, all,
> >
> > I met a situation, need help, thank you in advance.
> > I added
> > http://app02.laopdr.gov.la/
> > into urls.txt
> >
> > nutch can find
> >
> >
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
> >
> > but nutch cannot find
> > http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
> >
> > anybody has any idea?
> >
> > Yves
> >
>
Re: why I cannot find this link?
Posted by yanky young <ya...@gmail.com>.
Hi:
Why do u think nutch can't find
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
Actually http://app02.laopdr.gov.la/ is the same page as
http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
if you find http://app02.laopdr.gov.la in your log, the page you said must
be downloaded..
good luck
yanky
2009/3/3 Yves Yu <yv...@gmail.com>
> Hi, all,
>
> I met a situation, need help, thank you in advance.
> I added
> http://app02.laopdr.gov.la/
> into urls.txt
>
> nutch can find
>
> http://app02.laopdr.gov.la/ePortal/news/detail.action?id=10109&from=ePortal_NewsDetail_FromHome
>
> but nutch cannot find
> http://app02.laopdr.gov.la/ePortal/home/home.action?request_locale=en_US
>
> anybody has any idea?
>
> Yves
>