TestSelectingPagesQuery
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: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , 20200106, , , 202002181, , , , , , , , 20200914, , 20201016, 20201020, , 20201117-set, 20201117-subobject, 20201117-subobject, 20201117-subobject, , , , , , 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
}}