wpu.nu

Skillnad mellan versioner av "Mall:SparadSökning"

Från wpu.nu

m
m
Rad 2: Rad 2:
 
'''{{#arrayprint:terms|,&nbsp;}}<br/>'''
 
'''{{#arrayprint:terms|,&nbsp;}}<br/>'''
 
{{#ask:  
 
{{#ask:  
{{#arrayprint:terms | OR |@@@@ |[[~~*@@@@*]] [[Modification date::+]] [[Revision ID::!{{REVISIONID}}]] }}  
+
{{#arrayprint:terms | OR |@@@@ |[[~~*@@@@*]] [[Revision ID::!{{REVISIONID}}]] }}  
 
  |format=debug
 
  |format=debug
 
  |limit=50
 
  |limit=50

Versionen från 31 oktober 2021 kl. 19.23

{{{1}}}

Debug outputElasticStore
{ "smw": { "query": "[[~~*[[:Mall:((]]{1[[:Mall:))]]}*]] [[Revision ID::!395865]]", "sort": { "": "ASC" }, "metrics": { "query size": 4, "query depth": 1 }, "description_log": [ { "Conjunction": "[[~~*]] [[:Mall:))]] [[Revision ID::!395865]]" }, [ { "ValueDescription": "[[~~*]]" } ], [ { "ValueDescription": "[[:Mall:))]]" } ], [ [ { "SomeProperty": "[[Revision ID::!395865]]" } ] ] ] }, "elastic": [ { "index": "smw-data-mediawikidb", "type": "data", "body": { "_source": false, "from": 0, "size": 51, "query": { "constant_score": { "filter": { "bool": { "must": [ { "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 ] } } } }, [ { "exists": { "field": "P:510.numField" } }, { "bool": { "must_not": { "term": { "P:510.numField": 395865 } } } } ] ] } } } }, "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(+(+(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])) +ConstantScore(DocValuesFieldExistsQuery [field=P:510.numField]) +(-P:510.numField:[395865.0 TO 395865.0] +*:*)) #*:*" } ] } ] }

<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>