Extension:SolrStore

The SolrStore extension is a search provider for Semantic MediaWiki. You can search your semantic properties with the power of a fulltext search engine (lucene), by defining custom search forms.

Requirements
The following software is required:
 * Semantic MediaWiki
 * Apache Solr
 * Apache Tomcat (or any other servlet container supported by Solr itself: Glassfish, JBoss, Jetty, Resin, Weblogic or WebSphere)
 * php Client URL Library (cURL)

Template System

 * If you prefer to use other template for example: "FIS Template"
 * add to LocalSettings.php

create template

 * Conditions to use:
 * 1) create the file in: ./extensions/SolrStore/templates
 * 2) make a copy of the existing SolrSearchTemplate_Standart.php
 * 3) rename the file to: SolrSearchTemplate_NEWNAME.php
 * 4) rename the class to: SolrSearchTemplate_NEWNAME
 * 5) add to LocalSettings.php:

For faster indexing use "maintenance/runJobs.php" and run some Jobs.

Known bugs / features

 * Some queries still end in exceptions, like an open "(" without a closing ")"
 * SolrStore has some problems with namespaces. If you delete a talk page, Solr also removes the corresponding regular page from his index. This means you have to open and save the regular page again, for Solr to index the page again. Do not worry this does not mean that your page gets deleted, it just will not show up in your search for a short time.

Demo
If you want to try our search visit:
 * http://sofis.gesis.org/sofiswiki/Spezial:SolrSearch - Fieldbased Search
 * http://sofis.gesis.org/sofiswiki/Spezial:Search - Mediawiki Search with Solr