wpu.nu

Skillnad mellan versioner av "Mall:SparadSökning"

Från wpu.nu

m
m
Rad 3: Rad 3:
 
{{#ask:  
 
{{#ask:  
 
[[Modification date::+]] [[Revision ID::!{{REVISIONID}}]] {{#arrayprint:terms | OR |@@@@ |[[~~*@@@@*]] }}  
 
[[Modification date::+]] [[Revision ID::!{{REVISIONID}}]] {{#arrayprint:terms | OR |@@@@ |[[~~*@@@@*]] }}  
  |format=ul
+
  |format=debug
 
  |limit=50
 
  |limit=50
 
  |offset=0
 
  |offset=0

Versionen från 31 oktober 2021 kl. 19.18

{{{1}}}

Debug outputElasticStore
{ "smw": { "query": "[[Modification date::+]] [[Revision ID::!395859]] [[~~*[[:Mall:((]]{1[[:Mall:))]]}*]]", "sort": { "": "ASC" }, "metrics": { "query size": 5, "query depth": 1 }, "description_log": [ { "Conjunction": "[[Modification date::+]] [[Revision ID::!395859]] [[~~*]] [[:Mall:))]]" }, [ { "SomeProperty": "[[Modification date::+]]" } ], [ [ { "SomeProperty": "[[Revision ID::!395859]]" } ] ], [ { "ValueDescription": "[[~~*]]" } ], [ { "ValueDescription": "[[:Mall:))]]" } ] ] }, "elastic": [ { "index": "smw-data-mediawikidb", "type": "data", "body": { "_source": false, "from": 0, "size": 51, "query": { "constant_score": { "filter": { "bool": { "must": [ { "bool": { "filter": { "exists": { "field": "P:29.datField" } } } }, [ { "exists": { "field": "P:510.numField" } }, { "bool": { "must_not": { "term": { "P:510.numField": 395859 } } } } ], { "bool": { "must": { "query_string": { "fields": [ "subject.title^8", "text_copy^5", "text_raw", "attachment.title^3", "attachment.content" ], "query": "*", "minimum_should_match": 1 } } } }, { "bool": { "must": { "terms": { "_id": [ 0 ] } } } } ] } } } }, "sort": [ { "subject.sortkey.sort": { "order": "asc" }, "subject.title.sort": { "order": "asc" } } ] } }, { "_shards": { "total": 1, "successful": 1, "failed": 0 }, "valid": true, "explanations": [ { "index": "smw-data-mediawikidb-v2", "valid": true, "explanation": "+ConstantScore(+(#ConstantScore(DocValuesFieldExistsQuery [field=P:29.datField])) +ConstantScore(DocValuesFieldExistsQuery [field=P:510.numField]) +(-P:510.numField:[395859.0 TO 395859.0] +*:*) +(+(MatchNoDocsQuery("No field "attachment.content" exists in mappings.") | (MatchNoDocsQuery("No field "attachment.title" exists in mappings."))^3.0 | ConstantScore(NormsFieldExistsQuery [field=text_raw]) | (ConstantScore(NormsFieldExistsQuery [field=subject.title]))^8.0 | (ConstantScore(NormsFieldExistsQuery [field=text_copy]))^5.0)) +(+_id:([fe f]))) #*:*" } ] } ] }

<ul><li>Symbolen "[[" användes på en plats där den inte är användbar.</li> <!--br--><li>Delen "{1" av efterfrågningen förstods inte.Vissa resultat kan bli oväntade.</li> <!--br--><li>Delen "}*" av efterfrågningen förstods inte.Vissa resultat kan bli oväntade.</li> <!--br--><li>Delen "]]" av efterfrågningen förstods inte.Vissa resultat kan bli oväntade.</li></ul>