TestSelectingPagesQuery

De Semantic MediaWiki - Sandbox

Getting the page with the full correct text: Query: {{#ask:[[Has text::L'Aquila]]}} Result: TestSelectingPages

Getting the page with Like, without the part of the text containing the special character: Query: {{#ask:[[Has text::~*Aquila*]]}} Result: TestSelectingPages

Getting the page with Like, with the part of the text including the problem Query: {{#ask:[[Has text::~*'Aquila*]]}} Result: TestSelectingPages

Stopwords[modifier | modifier le wikicode]

Getting the page with Like, problem n2, searching in the final part of a long Semantic Property Query: {{#ask:[[Has text::~*enough*]]}} Result: TestSelectingPages2

Getting the page with Like, problem n2, searching in the initial part of a long Semantic Property Query: {{#ask:[[Has text::~*this*]]}} Result: Issue/1481 (Fulltext)/CJK examples/Zh, Issue/1963, Issue/4095, Issue/4095 (Not able to escape characters inside property value), Issue/4786, L'Oréal Men Expert Carbon Protect 4 in 1 Anti-Transpirant Roll-on 50 ml, Lalquier, Links in values, Query a link and some content onto a GeoJSON map, TestSelectingPages2

See gh:smw:1481:269842636 as to why `enough` and `this` are not supported.

Arbitrary text search[modifier | modifier le wikicode]

{{#ask: [[Has text::~*"some random text"*]] }}

Result: 20150108 SWM USAGE.png, 20150209 SWM USAGE.png, 20150309 SWM USAGE.png, 20150408 SWM USAGE.png, 20150508 SWM USAGE.png, 20150608 SWM USAGE.png, 20150708 SWM USAGE.png, 20150908 SWM USAGE.png, 20151008 SWM USAGE.png, 20151108 SWM USAGE.png, 20151208 SWM USAGE.png, 20160108 SWM USAGE.png, 20160208 SWM USAGE.png, 20160308 SWM USAGE.png, 20160512 SWM USAGE.png, 20160608 SWM USAGE.png, 20160701 SWM USAGE.png, 20160808 SMW USAGE.png, 20160908 SMW USAGE.png, 20161008 SMW USAGE.png, 20161108 SMW USAGE.png, 20161208 SMW USAGE.png, 20170108 SMW USAGE.png, 20170208 SMW USAGE.png, 20170308 SMW USAGE.png, 20170408 SMW USAGE.png, 20170508 SMW USAGE.png, 20170608 SMW USAGE.png, 20170708 SMW USAGE.png, 20170808 SMW USAGE.png, 20170908 SMW USAGE.png, 20171008 SMW USAGE.png, 20171108 SMW USAGE.png, 20171208 SMW USAGE.png, 20180108 SMW USAGE.png, 20180208 SMW USAGE.png, 20180308 SMW USAGE.png, 20180608 SMW USAGE.png, 20180808 SMW USAGE.png, 20180908 SMW USAGE.png, 20190108 SMW USAGE.png, 20190208 SMW USAGE.png, 20190308 SMW USAGE.png, 20190408 SMW USAGE.png, 20190508 SMW USAGE.png, 20190608 SMW USAGE.png, 20190708 SMW USAGE.png, 20190808 SMW USAGE.png, 20190908 SMW USAGE.png, 20191008 SMW USAGE.png, 20191108 SMW USAGE.png, 20191208 SMW USAGE.png, 20200106, 20200108 SMW USAGE.png, 20200208 SMW USAGE.png, 202002181, 20200308 SMW USAGE.png, 20200408 SMW USAGE.png, 20200508 SMW USAGE.png, 20200608 SMW USAGE.png, 20200708 SMW USAGE.png, 20200808 SMW USAGE.png, 20200908 SMW USAGE.png, 20200914, 20201008 SMW USAGE.png, 20201016, 20201020, 20201108 SMW USAGE.png, 20201117-set, 20201117-subobject, 20201117-subobject, 20201117-subobject, 20201208 SMW USAGE.png, 20210108 SMW USAGE.png, 20210208 SMW USAGE.png, 20210308 SMW USAGE.png, 20210408 SMW USAGE.png, 20210414, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 20230830, 2023083001, 2023083002, 2023083003, 2023083004, 2023083005, 2023083006, 2023083007, 2023083008, 2023083009, 2023083010, 2023083011, 2023083012, 2023083013, 2023083014, 2023083015, 2023083016, 2023083017, 2023083018, 2023083019, 2023083020, 2023083021, 2023083022, AB C, Aggregating numbers, Aggregating numbers, Aggregating numbers, Aggregating numbers, Article X, Article Z, Asdfg, Berlin, Book Y, Demo:Dygraphs/Annotate gas chromatogram (10K data points), Demo:Dygraphs/Annotate gas chromatogram (10K data points), Demo:Dygraphs/Annotate gas chromatogram (10K data points), Demo:Dygraphs/Annotate gas chromatogram (10K data points), Demo:Dygraphs/Annotate gas chromatogram (10K data points), Dennis/FT, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, DisplayTitle is different, Do, Jane, Doe, Jane, Doe, John, Escape accolade/complex, Example/P0708/1, Example/P0708/2, HaloTestAmsterdam, HaloTestEurope, HaloTestHeinekenMusicHall, HaloTestNetherlands, Has name, HelloMyWorld, Issue/1257, Issue/1345/1, Issue/1345/2, Issue/1345/3, Issue/1345/4, Issue/1345/5, Issue/1345/6, Issue/1345/7, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Ja, Issue/1481 (Fulltext)/CJK examples/Zh, Issue/1481 (Fulltext)/CJK examples/Zh, Issue/1481 (Fulltext)/Long text example (The Republic), Issue/1481 (Fulltext)/Text examples, Issue/1481 (Fulltext)/Text examples, Issue/1481 (Fulltext)/Text examples, Issue/1481 (Fulltext)/Text examples, Issue/1481 (Fulltext)/Text examples, Issue/1481 (Fulltext)/Text examples, Issue/1481 (Fulltext)/Text examples, Issue/1481 (Fulltext)/Text examples, Issue/1481 (Fulltext)/Text examples, Issue/1513/1/1, Issue/1513/1/2, Issue/1513/1/3, Issue/1513/1/4, Issue/1513/1/5, Issue/1513/1/6, Issue/1747, Issue/1882, Issue/1882, Issue/1882, Issue/1882, Issue/1882, Issue/1882, Issue/1882, Issue/1882, Issue/1882, Issue/1882, Issue/1882, Issue/1891, Issue/1912/1, Issue/1912/2, Issue/1963, Issue/2022, Issue/2022, Issue/2024, Issue/2024, Issue/2031, Issue/2061... autres résultats

Debug output[modifier | modifier le wikicode]

{{#ask:[[Has text::~*"some random text"*]]
 |format=debug
}}
Debug outputElasticStore
{ "smw": { "query": "[[Has text::~*"some random text"*]]", "sort": { "": "ASC" }, "metrics": { "query size": 2, "query depth": 1 }, "description_log": [ { "SomeProperty": "[[Has text::~*"some random text"*]]" } ] }, "elastic": [ { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "from": 0, "size": 251, "query": { "constant_score": { "filter": { "bool": { "must": { "query_string": { "fields": [ "P:32994.txtField", "P:32994.txtField.keyword" ], "query": "*"some random text"*" } } } } } }, "sort": [ { "subject.sortkey.sort": { "order": "asc" }, "subject.title.sort": { "order": "asc" } } ] } }, { "_shards": { "total": 1, "successful": 1, "failed": 0 }, "valid": true, "explanations": [ { "index": "smw-data-db9910120150926-02100_-v1", "valid": true, "explanation": "+ConstantScore(+((ConstantScore(DocValuesFieldExistsQuery [field=P:32994.txtField.keyword]) | ConstantScore(NormsFieldExistsQuery [field=P:32994.txtField])) (P:32994.txtField.keyword:some random text | P:32994.txtField:"some random text") (ConstantScore(DocValuesFieldExistsQuery [field=P:32994.txtField.keyword]) | ConstantScore(NormsFieldExistsQuery [field=P:32994.txtField])))) #*:*" } ] } ] }

{{#scite:gh:smw:1481:269842636

|type=note
|citation text=https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1481#issuecomment-269842636

}}

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.