Search
From Chaehyun
(Difference between revisions)
(→solr) |
(→solr) |
||
Line 6: | Line 6: | ||
# solr/conf/solrconfig.xml 수정 | # solr/conf/solrconfig.xml 수정 | ||
#* invariants 부분 주석처리 | #* 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/* | ||
+ | # http://xlos2.cafe24.com:8983/solr/browse |
Revision as of 07:16, 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/*
- http://xlos2.cafe24.com:8983/solr/browse