Title: [Fwd: RE: Weekly Report]
Regarding the issue, I found out I was not using the right search syntax.

Make sure you specify a field and searchterm with a colon, like this:

XMLfieldname:SearchTerm

Am 10.05.2012 09:07, schrieb Tolga:
Thanks. *heads to the Solr list*

On 5/10/12 9:42 AM, Markus Jelsma wrote:
Hi,

On Thu, 10 May 2012 09:10:04 +0300, Tolga <[email protected]> wrote:
Hi,

This will sound like a duplicate, but actually it differs from the
other one. Please bear with me. Following
http://wiki.apache.org/nutch/NutchTutorial, I first issued the command

bin/nutch crawl urls -solr http://localhost:8983/solr/ -depth 3 -topN 5

Then when I got the message

Exception in thread "main" java.io.IOException: Job failed!
    at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1252)
    at

org.apache.nutch.indexer.solr.SolrDeleteDuplicates.dedup(SolrDeleteDuplicates.java:373) 

    at

org.apache.nutch.indexer.solr.SolrDeleteDuplicates.dedup(SolrDeleteDuplicates.java:353) 

    at org.apache.nutch.crawl.Crawl.run(Crawl.java:153)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.nutch.crawl.Crawl.main(Crawl.java:55)
Please include the relevant part of the log. This can be a known issue.

I issued the commands

bin/nutch crawl urls -dir crawl -depth 3 -topN 5

and

bin/nutch solrindex http://127.0.0.1:8983/solr/ crawldb -linkdb
crawldb/linkdb crawldb/segments/*

separately, after which I got no errors. When I browsed to
http://localhost:8983/solr/admin and attempted a search, I got the
error


   HTTP ERROR 400

Problem accessing /solr/select. Reason:

    undefined field text
But this is a Solr thing, you have no field named text. Resolve this 
in Solr or on the Solr mailing list.


------------------------------------------------------------------------
/Powered by Jetty://

/What am I doing wrong?

Regards,/
/

      

--

 

stephan
kristyn
partner operations manager
 
"The Internet? Is that thing still around?" - Homer Simpson
 
[email protected]
direct +49 (0)89 231 97 207    mobile +49 (0) 162 28899 02
 
yahoo! deutschland gmbh theresienhoehe 12, munich, 80339, germany
phone (408) 349 3300    fax (408) 349 3301
 
http://us.i1.yimg.com/us.yimg.com/i/pt/i/buzzmktg/brand/logos/yahoo_email_sig_generic_v2.gif
 

 

Reply via email to