Semantic search

From mcr
Condition
Printout selection
Options
Parameters [
limit:

The maximum number of results to return
offset:

The offset of the first result
link:

Show values as links
headers:

Display the headers/property names
mainlabel:

The label to give to the main page name
intro:

The text to display before the query results, if there are any
outro:

The text to display after the query results, if there are any
searchlabel:

Text for continuing the search
default:

The text to display if there are no query results
import-annotation:

Additional annotated data are to be copied during the parsing of a subject
propsep:

The separator between the properties of a result entry
valuesep:

The separator between the values for a property of a result
template:

The name of a template with which to display the printouts
named args:

Name the arguments passed to the template
userparam:

A value passed into each template call, if a template is used
class:

An additional CSS class to set for the list
introtemplate:

The name of a template to display before the query results, if there are any
outrotemplate:

The name of a template to display after the query results, if there are any
sep:

The separator between results
Sort options
Delete
Add sorting condition
Debug output SQLStore
ASK Query
[[Category:Phabricator Tasks]] [[Status::resolved]]
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, t0.smw_sort
FROM
  `smw_object_ids` AS t0
INNER JOIN
  (`smw_fpt_inst` AS t2
INNER JOIN
  `smw_di_blob` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
  (t2.o_id=1907
   AND (
   (t4.o_hash='resolved') AND t4.p_id=1916)
  )
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  t0.smw_sort ASC
LIMIT
  105
OFFSET
  100
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt2refs_id, o_id, s_id_2, o_id_2o_id_25const188Using index; Using temporary; Using filesort
1SIMPLEt4refs_id, p_id, s_id_2, o_hashs_id8mcr.t2.s_id, const1Using where
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4mcr.t2.s_id1Using where
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:3
Query-Depth:1
Errors and Warnings
None
Phabricator Link Wiki Link Status Priority Author Owner Tags Projects Subtasks Parent Tasks
T206090 T206090: Certain Special:MobileDiff urls fatal with "Bad value for parameter $old: must be a TextContent" resolved high (red) kostajh (Kosta Harlan)
T208769 T208769: Ensure that AbuseFilter applies to the content of all MCR slots resolved high (red) Jdforrester-WMF (James D. Forrester)
T208770 T208770: Ensure TitleBlacklist applies when the context is an MCR page resolved normal (orange) Jdforrester-WMF (James D. Forrester)
T208771 T208771: Ensure ConfirmEdit applies when the context is an MCR page resolved normal (orange) Jdforrester-WMF (James D. Forrester)
T208929 T208929: RevisionAccessException from ApiComparePages.php: Could not determine title for page/revision ID resolved needs triage (violet) Anomie (Brad Jorsch)
T209291 T209291: Make AbuseFilter::revisionToString work across slots resolved high (red) daniel (Daniel Kinzler)
T209423 T209423: Installer fails due to a Call Stack resolved needs triage (violet) Jdforrester-WMF (James D. Forrester)
T210307 T210307: Forcelinkupdate appears to have stopped working (on ENWIKI at least) resolved high (red) daniel (Daniel Kinzler)
T211473 T211473: JADE\Tests\Hooks\MoveHooksTest::testOnMovePageIsValidMove is broken resolved needs triage (violet) Halfak (Aaron Halfaker, EpochFail, halfak)
T214308 T214308: Force usage of MCR aware database schema resolved normal (orange) Clarakosi (Clara Andrew-Wani)
T217829 T217829: Update populateRevisionSha1.php to run over the content table resolved normal (orange) BPirkle (BPirkle)
T217831 T217831: Add a check to populateContentTables.php to ensure that populateRevisionSha1.php is run first resolved normal (orange) daniel (Daniel Kinzler)
T224949 T224949: Failed to access name from slot_roles using id = 1 resolved high (red) daniel (Daniel Kinzler)
T33223 T33223: Remove old archive.ar_text/archive.ar_flags resolved normal (orange) Anomie (Brad Jorsch)
T36925 T36925: [MCR] create maintenance script for Migration of text from archive table to text table resolved normal (orange) Anomie (Brad Jorsch)