Solr 4.10 and Heliosearch .07 have added a terms query (or terms filter) to more efficiently match many terms in a single field. A large number of terms are often useful for things like access control lists or security filters. Previously, the only way to do this was a large boolean query with many clauses, which has unnecessary overhead when scoring is not needed. Solr’s implementation uses Lucen
Apache Solrにはクエリ内に使う際に注意が必要な特殊文字が幾つかあります。 Apache Lucene - Query Parser Syntax 上記マニュアルによれば、下記の文字列が特殊文字に該当するようです。 + - && || ! ( ) { } [ ] ^ " ~ * ? : \ 管理ツール上のQuery機能を使って特殊文字をそのまま入れて検索してみてもSolrがエラーを返してきます。 org.apache.solr.search.SyntaxError: Cannot parse '&&': Encountered " <AND> "&& "" at line 1, column 0. ということで、この辺の特殊文字の意味とこれらをクエリに使いたい場合の回避方法のまとめです。 ・ 丸括弧() Solrで丸括弧(小括弧)の文字はグルーピングを意味します。 例えば、「Apa
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く