Search
From Chaehyun
(Difference between revisions)
(Created page with "= nutch = * bin/nutch crawl urls -solr http://localhost:8983/solr/ -depth 3 -topN 5 = solr = # cp ${NUTCH_RUNTIME_HOME}/conf/schema.xml ${APACHE_SOLR_HOME}/example/solr/conf/ # ...") |
(→solr) |
||
Line 4: | Line 4: | ||
= solr = | = solr = | ||
# cp ${NUTCH_RUNTIME_HOME}/conf/schema.xml ${APACHE_SOLR_HOME}/example/solr/conf/ | # cp ${NUTCH_RUNTIME_HOME}/conf/schema.xml ${APACHE_SOLR_HOME}/example/solr/conf/ | ||
+ | # solr/conf/solrconfig.xml 수정 | ||
+ | #* invariants 부분 주석처리 | ||
+ | |||
# restart Solr with the command “java -jar start.jar” under ${APACHE_SOLR_HOME}/example | # restart Solr with the command “java -jar start.jar” under ${APACHE_SOLR_HOME}/example | ||
# run the Solr Index command: | # run the Solr Index command: | ||
#* bin/nutch solrindex http://127.0.0.1:8983/solr/ crawldb crawldb/linkdb crawldb/segments/* | #* bin/nutch solrindex http://127.0.0.1:8983/solr/ crawldb crawldb/linkdb crawldb/segments/* |
Revision as of 07:15, 10 October 2011
nutch
- bin/nutch crawl urls -solr http://localhost:8983/solr/ -depth 3 -topN 5
solr
- cp ${NUTCH_RUNTIME_HOME}/conf/schema.xml ${APACHE_SOLR_HOME}/example/solr/conf/
- solr/conf/solrconfig.xml 수정
- invariants 부분 주석처리
- restart Solr with the command “java -jar start.jar” under ${APACHE_SOLR_HOME}/example
- run the Solr Index command:
- bin/nutch solrindex http://127.0.0.1:8983/solr/ crawldb crawldb/linkdb crawldb/segments/*