Différences entre les versions de « Issue/2499 »
De Semantic MediaWiki - Sandbox
(touch) Balise : Éditeur de wikicode 2017 |
(→URL) |
||
Ligne 103 : | Ligne 103 : | ||
== URL == | == URL == | ||
+ | |||
+ | In case of the <code>ElasticStor</code>, the <code>$smwgElasticsearchConfig['query']['uri.field.case.insensitive'] = true;</code> is required to make this listed function to work in a case insensitive context. | ||
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
! style="width: 33%;" | Query | ! style="width: 33%;" | Query |
Version du 24 mars 2018 à 15:14
Notes on this page are made in regards to $GLOBALS['smwgFieldTypeFeatures'] = SMW_FIELDT_CHAR_NOCASE | SMW_FIELDT_CHAR_LONG;
1
Page
Query | Result | Comments |
---|---|---|
{{#ask: [[Category:2499]] [[Page::some title with a value]] |?Page |format=ul }} |
| |
{{#ask: [[Category:2499]] [[Page::~some title with a value]] |?Page |format=ul }} |
|
|
{{#ask: [[Category:2499]] [[Page::like:some title with a value]] |?Page |format=ul }} |
|
|
Text
Query | Result | Comments |
---|---|---|
{{#ask: [[Category:2499]] [[Text::some title with a value]] |?Text |format=ul }} |
| |
{{#ask: [[Category:2499]] [[Text::~some title with a value]] |?Text |format=ul }} |
|
|
{{#ask: [[Category:2499]] [[Text::like:some title with a value]] |?Text |format=ul }} |
|
|
URL
In case of the ElasticStor
, the $smwgElasticsearchConfig['query']['uri.field.case.insensitive'] = true;
is required to make this listed function to work in a case insensitive context.
Query | Result | Comments |
---|---|---|
{{#ask: [[Category:2499]] [[URL::http://example.org/some title with a value]] |?URL |format=ul }} |
|
|
{{#ask: [[Category:2499]] [[URL::~http://example.org/some title with a value]] |?URL |format=ul }} |
|
|
{{#ask: [[Category:2499]] [[URL::like:http://example.org/some title with a value]] |?URL |format=ul }} |
|
|