语义搜索

来自戏曲百科
条件
打印输出选择
选项
参数 [
limit:

最大返回结果数
offset:

第一个结果的偏移量
link:

把值显示成链接
headers:

显示表头/属性名称
mainlabel:

首列(主页面名称)的表头标签
intro:

当有查询结果时显示在结果前的文字
outro:

当有查询结果时显示在结果后的文字
searchlabel:

提示继续搜索的文字
default:

当没有查询结果时显示的文字
import-annotation:

解析主体期间复制的额外注释的数据
propsep:

结果条目内属性之间的分隔符
valuesep:

结果属性的值之间的分隔符
template:

展示打印输出的模板的名称
named args:

命名传递给模板的参数
userparam:

当使用模板时传递给每个模板调用的值
class:

给列表设置的额外CSS类
introtemplate:

当有查询结果时显示在结果前的模板的名称
outrotemplate:

当有查询结果时显示在结果后的模板的名称
prefix:

控制打印输出内命名空间的显示
排序选项
删除
添加排序条件
Debug output SQLStore
ASK Query
[[分类:戏曲事件]]
SQL Query
SELECT DISTINCT
  t0.smw_id AS id,
  t0.smw_title AS t,
  t0.smw_namespace AS ns,
  t0.smw_iw AS iw,
  t0.smw_subobject AS so,
  t0.smw_sortkey AS sortkey, t4.o_sortkey
FROM
  `smw_object_ids` AS t0
INNER JOIN
  `smw_fpt_inst` AS t1 ON t0.smw_id=t1.s_id
INNER JOIN
  `smw_di_time` AS t4 ON t0.smw_id=t4.s_id
WHERE
  (t1.o_id=1296)
   AND (t4.p_id=535)
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  t4.o_sortkey DESC
LIMIT
  10
OFFSET
  5
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt1refs_id, s_id_2, o_id, o_id_2o_id_25const4484100.00Using index; Using temporary; Using filesort
1SIMPLEt0eq_refPRIMARY, smw_iw, smw_iw_2, smw_idPRIMARY4wiki66.t1.s_id150.00Using where
1SIMPLEt4refs_id, s_id_2, p_id_2, p_ids_id8wiki66.t1.s_id, const1100.00
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:1
Query-Depth:0
Errors and Warnings
None