Changes between Version 3 and Version 4 of shunfa/2012/0911


Ignore:
Timestamp:
Sep 11, 2012, 4:59:31 PM (12 years ago)
Author:
shunfa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • shunfa/2012/0911

    v3 v4  
    149149 * 將Nutch的配置複製到Solr中
    150150{{{
    151 
    152 }}}
    153 
    154  * 修改Solr配置
    155 {{{
    156 
     151$ cp [$NUTCH_HOME]/conf/schema.xml [$SOLR_HOME]/example/solr/conf/
    157152}}}
    158153
    159154==== 啟動Solr ====
    160155{{{
    161 
     156$ cd [$SOLR_HOME]/example
     157$ java -jar start.jar
     158}}}
     159 * 用瀏覽器開啟Solr
     160{{{
     161#!text
     162http://localhost:8983/solr/admin/
     163http://localhost:8983/solr/admin/stats.jsp
    162164}}}
    163165
     
    165167
    166168{{{
    167 $
     169$ [$NUTCH_HOME]/bin/nutch solrindex http://127.0.0.1:8983/solr/ crawl/crawldb -linkdb crawl/linkdb crawl/segments/*
     170SolrIndexer: starting at 2012-09-11 16:59:32
     171Indexing 99 documents
     172...
    168173}}}
    169