{"action":"created","issue":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1233","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1233/labels{/name}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1233/comments","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1233/events","html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1233","id":113096740,"number":1233,"title":"Improve Special:Search interaction with SemanticMediaWiki (new repo)","user":{"login":"mwjames","id":1245473,"avatar_url":"https://avatars.githubusercontent.com/u/1245473?v=3","gravatar_id":"","url":"https://api.github.com/users/mwjames","html_url":"https://github.com/mwjames","followers_url":"https://api.github.com/users/mwjames/followers","following_url":"https://api.github.com/users/mwjames/following{/other_user}","gists_url":"https://api.github.com/users/mwjames/gists{/gist_id}","starred_url":"https://api.github.com/users/mwjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwjames/subscriptions","organizations_url":"https://api.github.com/users/mwjames/orgs","repos_url":"https://api.github.com/users/mwjames/repos","events_url":"https://api.github.com/users/mwjames/events{/privacy}","received_events_url":"https://api.github.com/users/mwjames/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-23T20:47:53Z","updated_at":"2015-11-14T22:38:28Z","closed_at":null,"body":"After my initial mail to the list [0] about a combined `Special:Search` and Semantic MediaWiki search, I made a  [1] prototype (thanks to SIL I could recycle some of the work).\r\n\r\nIt adds a new search profile and is based on the principle of result reduction for a set that has been returned from a SearchEngine (e.g. any engine that is plugged into MW) with the conjunctive conditions entered in `Special:Search`.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1245473/10703439/7a6381b0-79d0-11e5-820b-5b37b475ec82.png)\r\n\r\nRather trying to integrate an external search (such as SolrStore [2] or ElasticSearch in an attempt to replicate data structures within those components) this new small extension will facilitate the existing solutions and interfaces.\r\n\r\n@kghbln @JeroenDeDauw I'm looking for an appropriate repo name (and NS shortcut) before moving the code, current proposals include:\r\n\r\n- SemanticCombinedSearch\r\n- SemanticExtendedSearch\r\n- SemanticFilteredSearch\r\n\r\n### Requirements & features\r\n\r\n- The extension will require SMW 2.3 to make use of the optimized internal `$GLOBALS['smwgValueLookupCacheType'] = 'redis';` cache (otherwise comparing results online will cause a high performance penalty during each search request for the search-profile)\r\n- Only namespaces are searched that are enabled via `$GLOBALS['smwgNamespacesWithSemanticLinks']`\r\n- Results are only matched against semantic conditions after `Special:Search` has returned a list from the `Search:Engine` (the credo is \"search, map, and reduce\")\r\n\r\nPS: We probably also want to move the code from `SMW\\MediaWiki\\Search\\` into this repository.\r\n\r\n[0] http://wikimedia.7.x6.nabble.com/How-to-query-whole-page-content-tp5053987p5054111.html\r\n[1] https://youtu.be/jqub3toeDN8\r\n[2] https://www.mediawiki.org/wiki/Extension:SolrStore"},"comment":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/comments/156752226","html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1233#issuecomment-156752226","issue_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1233","id":156752226,"user":{"login":"mwjames","id":1245473,"avatar_url":"https://avatars.githubusercontent.com/u/1245473?v=3","gravatar_id":"","url":"https://api.github.com/users/mwjames","html_url":"https://github.com/mwjames","followers_url":"https://api.github.com/users/mwjames/followers","following_url":"https://api.github.com/users/mwjames/following{/other_user}","gists_url":"https://api.github.com/users/mwjames/gists{/gist_id}","starred_url":"https://api.github.com/users/mwjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwjames/subscriptions","organizations_url":"https://api.github.com/users/mwjames/orgs","repos_url":"https://api.github.com/users/mwjames/repos","events_url":"https://api.github.com/users/mwjames/events{/privacy}","received_events_url":"https://api.github.com/users/mwjames/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T22:38:28Z","updated_at":"2015-11-14T22:38:28Z","body":"> I'd rather go for SemanticEnhancedSearch to avoid ambiguity.\r\n\r\nand so we go with `SemanticEnhancedSearch`.\r\n\r\n#1267 , #1237 are required so that the autocomplete uses the same interface and allows to search for predefined properties as well (wasn't possible before #1237) .\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1245473/11166146/936a6ac0-8b28-11e5-8224-8e1251da2154.png)\r\n"}}