You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Gal Nitzan <gn...@usa.net> on 2005/09/28 15:48:27 UTC

search with ndfs/mapred index

Hi,

I have successfully run  mapred .

How do I set the servlet to search the index which is under ndfs

Thanks,

Gal

Re: pattern matching and boolean searches

Posted by Robert Benea <ro...@gmail.com>.
I think you can build your own plug-in and do whatever type of search you
want(lucene style), I myself added a query plugin to handle my needs ;-).

Cheers,
R.

On 9/28/05, Edward Quick <ed...@hotmail.com> wrote:
>
> Hi,
>
> I posted this question the other day but didn't get a reply which may have
> been because it was an an annoying FAQ, or the subject wasn't catchy
> enough!
> Anyway, one more try, so here goes! Please help if you can.
>
> Should I be able to do lucene type searches with Nutch? I know Nutch can
> now
> do type: and url: queries, but how about pattern matching queries? For
> example:
>
> te*t
> tes?t
>
> or Boolean searches? I haven't got it to work so far, but wondered whether
> there was some I needed to enable. Incidentally, yes, I did enable the
> index-more and query-more plugins.
>
> Thanks for any help.
>
> Ed.
>
>
>

pattern matching and boolean searches

Posted by Edward Quick <ed...@hotmail.com>.
Hi,

I posted this question the other day but didn't get a reply which may have 
been because it was an an annoying FAQ, or the subject wasn't catchy enough! 
Anyway, one more try, so here goes! Please help if you can.

Should I be able to do lucene type searches with Nutch? I know Nutch can now 
do type: and url: queries, but how about pattern matching queries? For 
example:

te*t
tes?t

or Boolean searches? I haven't got it to work so far, but wondered whether 
there was some I needed to enable. Incidentally, yes, I did enable the 
index-more and query-more plugins.

Thanks for any help.

Ed.



Re: search with ndfs/mapred index

Posted by Gal Nitzan <gn...@usa.net>.
Gal Nitzan wrote:
> Hi,
>
> I have successfully run  mapred .
>
> How do I set the servlet to search the index which is under ndfs
>
> Thanks,
>
> Gal
>
> .
>
Please ignore, found the information, thanks

Re: search with ndfs/mapred index

Posted by Gal Nitzan <gn...@usa.net>.
Gal Nitzan wrote:
> Hi,
>
> I have successfully run  mapred .
>
> How do I set the servlet to search the index which is under ndfs
>
> Thanks,
>
> Gal
>
> .
>

OK, I figured out the part with the bin/nutch server and now the server 
is running.

I have created a file /mapred/search-servers.txt
Which contains the line:

localhost:8070

which I'm not sure is what should be there.

In the the WEB-INF/classes/nutch-default.xml I set the value of 
searcher.dir to point to /mapred where I have the aforementioned file .

Thanks,

Gal


Re: java.lang.ClassNotFoundException: org.apache.nutch.ipc.RPC$NullInstance - IGNORE sorry

Posted by Gal Nitzan <gn...@usa.net>.
Gal Nitzan wrote:
> Hi,
>
> While, connecting to search sever i have the following exception, does 
> anybody have a clue?
>
> 050927 205228 10 opening indexes in 
> /user/root/crawl-20050927142856/indexes/indexes
> 050927 205228 10 opening segments in 
> /user/root/crawl-20050927142856/indexes/segments
> 050927 205228 10 opening linkdb in 
> /user/root/crawl-20050927142856/indexes/linkdb
> 050927 205228 12 Server listener on port 8070: starting
> 050927 205228 13 Server handler on 8070: starting
> 050927 205228 14 Server handler on 8070: starting
> 050927 205228 15 Server handler on 8070: starting
> 050927 205228 16 Server handler on 8070: starting
> 050927 205228 17 Server handler on 8070: starting
> 050927 205228 18 Server handler on 8070: starting
> 050927 205228 19 Server handler on 8070: starting
> 050927 205228 21 Server handler on 8070: starting
> 050927 205228 22 Server handler on 8070: starting
> 050927 205228 20 Server handler on 8070: starting
> 050928 021500 23 Server connection on port 8070 from 127.0.0.1: starting
> 050928 021500 21 Call: getSegmentNames()
> 050928 021500 21 Return: [Ljava.lang.String;@10da5eb
> 050928 021500 23 Server connection on port 8070 from 127.0.0.1 caught: 
> java.lang.RuntimeException: java.lang.ClassNotFoundException: 
> org.apache.nutch.ipc.RPC$NullInstance
> java.lang.RuntimeException: java.lang.ClassNotFoundException: 
> org.apache.nutch.ipc.RPC$NullInstance
>        at 
> org.apache.nutch.io.ObjectWritable.readObject(ObjectWritable.java:183)
>        at org.apache.nutch.ipc.RPC$Invocation.readFields(RPC.java:88)
>        at org.apache.nutch.ipc.Server$Connection.run(Server.java:136)
> 050928 021500 23 Server connection on port 8070 from 127.0.0.1: exiting
> 050928 021510 24 Server connection on port 8070 from 127.0.0.1: starting
> 050928 021510 13 Call: getSegmentNames()
> 050928 021510 13 Return: [Ljava.lang.String;@10da5eb
>
> Gal
>
> .
>


java.lang.ClassNotFoundException: org.apache.nutch.ipc.RPC$NullInstance

Posted by Gal Nitzan <gn...@usa.net>.
Hi,

While, connecting to search sever i have the following exception, does 
anybody have a clue?

050927 205228 10 opening indexes in 
/user/root/crawl-20050927142856/indexes/indexes
050927 205228 10 opening segments in 
/user/root/crawl-20050927142856/indexes/segments
050927 205228 10 opening linkdb in 
/user/root/crawl-20050927142856/indexes/linkdb
050927 205228 12 Server listener on port 8070: starting
050927 205228 13 Server handler on 8070: starting
050927 205228 14 Server handler on 8070: starting
050927 205228 15 Server handler on 8070: starting
050927 205228 16 Server handler on 8070: starting
050927 205228 17 Server handler on 8070: starting
050927 205228 18 Server handler on 8070: starting
050927 205228 19 Server handler on 8070: starting
050927 205228 21 Server handler on 8070: starting
050927 205228 22 Server handler on 8070: starting
050927 205228 20 Server handler on 8070: starting
050928 021500 23 Server connection on port 8070 from 127.0.0.1: starting
050928 021500 21 Call: getSegmentNames()
050928 021500 21 Return: [Ljava.lang.String;@10da5eb
050928 021500 23 Server connection on port 8070 from 127.0.0.1 caught: 
java.lang.RuntimeException: java.lang.ClassNotFoundException: 
org.apache.nutch.ipc.RPC$NullInstance
java.lang.RuntimeException: java.lang.ClassNotFoundException: 
org.apache.nutch.ipc.RPC$NullInstance
        at 
org.apache.nutch.io.ObjectWritable.readObject(ObjectWritable.java:183)
        at org.apache.nutch.ipc.RPC$Invocation.readFields(RPC.java:88)
        at org.apache.nutch.ipc.Server$Connection.run(Server.java:136)
050928 021500 23 Server connection on port 8070 from 127.0.0.1: exiting
050928 021510 24 Server connection on port 8070 from 127.0.0.1: starting
050928 021510 13 Call: getSegmentNames()
050928 021510 13 Return: [Ljava.lang.String;@10da5eb

Gal