使用 SolrJ 获取查询的查询(搜索处理程序)配置
Get query(search handler) configuration for a query using SolrJ
是否可以使用 SolrJ 获取查询配置值(默认 + 请求参数)?
例如:如果我使用 SolrJ 将请求定向到 RequestHandler,我想获取查询中使用的参数列表(默认 + 覆盖的请求参数)。我需要这个来记录查询时的当前配置。
尝试添加参数 echoParams=all
。
The echoParams parameter tells Solr what kinds of Request parameters
should be included in the response for debugging purposes, legal
values include:
- none - don't include any request parameters for debugging
- explicit -
include the parameters explicitly specified by the client in the
request
- all - include all parameters involved in this request, either
specified explicitly by the client, or implicit because of the request
handler configuration.
是否可以使用 SolrJ 获取查询配置值(默认 + 请求参数)?
例如:如果我使用 SolrJ 将请求定向到 RequestHandler,我想获取查询中使用的参数列表(默认 + 覆盖的请求参数)。我需要这个来记录查询时的当前配置。
尝试添加参数 echoParams=all
。
The echoParams parameter tells Solr what kinds of Request parameters should be included in the response for debugging purposes, legal values include:
- none - don't include any request parameters for debugging
- explicit - include the parameters explicitly specified by the client in the request
- all - include all parameters involved in this request, either specified explicitly by the client, or implicit because of the request handler configuration.