2012-10-01から1ヶ月間の記事一覧

Starting Apache Solr #1

スキーマ http://wiki.apache.org/solr/SchemaXml The schema.xml file contains all of the details about which fields your documents can contain, and how those fields should be dealt with when adding documents to the index, or when querying th…

ファイルリストにprefixつける - sed / xargs

files.txt foo/aaa foo/bbb bar/ccc の各行にprefixをつけて、引数として別コマンドに渡したい。 そんなときは... cat files.txt | sed -e s#^#$HOME#g | xargs echo こんな感じでやればok。 もっとスマートなやりかたがありそうな気もするが^^

Installing Apache Solr

About Apache Solr Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database…