2014年10月27日 星期一

Solr_04_查詢頁面解釋

Query Screen



FieldDescriptionDescription
Request-handler (qt)特定的要求查詢處理,
如果非特定查詢處理Solr的處理程序會返回標準的回應處理。
Specifies the query handler for the request. If a query handler is not specified, Solr processes
the response with the standard query handler.
q查詢事件。
(請查詢 Searching 章節)
The query event. See Searching for an explanation of this parameter
fq過濾查詢。
(請查詢 Common Query Parameters 章節)
The filter queries. See Common Query Parameters for more information on this parameter
sort將指定查詢回應依照升冪或降冪進行排序。Sorts the response to a query in either ascending or descending order based on the
response's score or another specified characteristic.
start, rows請定返回結果的個數區間,例如
1000筆中取回 第50筆到100筆時
start=50,rows=100
start is the offset into the query result starting at which documents should be returned. The
default value is 0, meaning that the query should return results starting with the first document
that matches. This field accepts the same syntax as the start query parameter, which is
described in Searching. rows is the number of rows to return.
fl將查詢回應的內容,定義要求返回的欄位。
如果總共有A、B、C、D、E、F但只想返回A跟B欄位置,
可以下 fl=A,B就只會返回此兩個內容。
Defines the fields to return for each document. You can explicitly list the stored fields you want
to have returned by separating them with either a comma or a space. In Solr 4, the results of
functions can also be included in the fl list.
wt回應的格式
例如:
wt=json
Specifies the Response Writer to be used to format the query response. Defaults to XML if not
specified.
indent將回應的內容,進行縮排以得到更佳的可讀性。Click this button to request that the Response Writer use indentation to make the responses
more readable.
debugQuery勾選此選項進行查詢,回應結果會多出測試訊息
主要目的是為了理解solr是如何查詢出結果。
Click this button to augment the query response with debugging information, including "explain
info" for each document returned. This debugging information is intended to be intelligible to
the administrator or programmer.
dismax(請查詢 The DisMax Query Parser 章節)Click this button to enable the Dismax query parser. See The DisMax Query Parser for further
information.
edismax(請查詢 The Extended DisMax Query 章節)Click this button to enable the Extended query parser. See The Extended DisMax Query
Parser for further information.
hl(請查詢 Highlighting 章節)Click this button to enable highlighting in the query response. See Highlighting for more
information.
facet(請查詢 Faceting 章節)Enables faceting, the arrangement of search results into categories based on indexed terms.
See Faceting for more information.
spatial使用定位資訊,在空間及地理信息中搜索使用。
(請查詢 Spatial Search  章節)
Click to enable using location data for use in spatial or geospatial searches. See Spatial
Search for more information.
spellcheck嵌入式查詢的拼寫檢查器。
(請查詢 Spell Checking 章節)
Click this button to enable the Spellchecker, which provides inline query suggestions based on
other, similar, terms. See Spell Checking for more information.

沒有留言:

張貼留言