You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Adam Estrada <es...@gmail.com> on 2011/04/25 04:35:07 UTC
Solr Indexer with Nutch 1.2 and 1.3
All,
I use Nutch to crawl selected websites and then store the results in Solr.
In Nutch 1.1, I was able to do this using the -solr
http://localhost:8983/solr command. This does not appear to work any longer
in the two most recent versions of the software. Has the syntax changed or
am I missing something?
Thanks,
Adam Estrada
Re: Solr Indexer with Nutch 1.2 and 1.3
Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hey Adam,
Looks like the syntax is described here:
http://svn.apache.org/repos/asf/nutch/branches/branch-1.3/src/java/org/apache/nutch/indexer/solr/SolrIndexer.java
At least for the SolrIndexer part. For the crawl tool, see:
http://svn.apache.org/repos/asf/nutch/branches/branch-1.3/src/java/org/apache/nutch/crawl/Crawl.java
Looks like the syntax is the same. Are you seeing any log messages? What does it print for solrUrl?
Cheers,
Chris
On Apr 25, 2011, at 10:56 AM, Adam Estrada wrote:
> All,
>
> The following command only seems to work correctly with Nutch 1.1.
>
> $ bin/nutch crawl urls -depth 50 -threads 10 -topN 50 -solr
> http://localhost:8983/solr
>
> <http://localhost:8983/solr>Has the syntax changed with Nutch 1.2 and 1.3
> for adding crawl results to an index?
>
> Thanks,
> Adam
>
> On Sun, Apr 24, 2011 at 10:35 PM, Adam Estrada <
> estrada.adam.groups@gmail.com> wrote:
>
>> All,
>>
>> I use Nutch to crawl selected websites and then store the results in Solr.
>> In Nutch 1.1, I was able to do this using the -solr
>> http://localhost:8983/solr command. This does not appear to work any
>> longer in the two most recent versions of the software. Has the syntax
>> changed or am I missing something?
>>
>> Thanks,
>> Adam Estrada
>>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re: Solr Indexer with Nutch 1.2 and 1.3
Posted by Adam Estrada <es...@gmail.com>.
All,
The following command only seems to work correctly with Nutch 1.1.
$ bin/nutch crawl urls -depth 50 -threads 10 -topN 50 -solr
http://localhost:8983/solr
<http://localhost:8983/solr>Has the syntax changed with Nutch 1.2 and 1.3
for adding crawl results to an index?
Thanks,
Adam
On Sun, Apr 24, 2011 at 10:35 PM, Adam Estrada <
estrada.adam.groups@gmail.com> wrote:
> All,
>
> I use Nutch to crawl selected websites and then store the results in Solr.
> In Nutch 1.1, I was able to do this using the -solr
> http://localhost:8983/solr command. This does not appear to work any
> longer in the two most recent versions of the software. Has the syntax
> changed or am I missing something?
>
> Thanks,
> Adam Estrada
>