LoginSignup
0

More than 5 years have passed since last update.

apache solrを動かしてみる。

Last updated at Posted at 2017-02-24

まずはここを見て、solrをインストール、wikipediaのデータを入れる。
- SolrにWikipediaのデータを入れて遊ぶ
 http://www.mwsoft.jp/programming/munou/wikipedia_solr.html

どうも上記の内容が古いようで、v6.4.1のsolrのjarではsolrserverのパッケージが見つからない。
あきらめて、本家のチュートリアルを読む。
http://lucene.apache.org/solr/quickstart.html
とりあえず、付属のdocsフォルダのindexをgettingstartedとして作るところまでは完了。

次に下記のページを読んで、ajax-solrを使って、gettingstartedのフロントエンドを作成。
- ajax-solrのページ
https://github.com/evolvingweb/ajax-solr/wiki
とりあえず、一覧とページネーションは出せた。
スクリーンショット 2017-03-06 8.55.02.png

次はタグクラウド。。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0