LoginSignup
1
1

More than 5 years have passed since last update.

[solr tips] explainの内容を整形する

Posted at

デバッグ

検索時のscoreの内訳を見たい時にdebugQueryを付けると思いますが、
デフォルトだとexplainの内容がindentされず、手元のエディタにコピペして整形してました。

debug.explain.structured

https://wiki.apache.org/solr/CommonQueryParameters#debug.explain.structured
該当のパラメータを付与することで、explainの内容を構造化して見やすくしてくれます。
今更ながらこんな便利なパラメータがあることを知りました。(つかデフォでこのパラメータ有効にしてくれても良いと思うけど)

1
1
0

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
1
1