Extension:SolrStore

Extension SolrStore is a new provider of searches for Semantic Mediawiki. You can search your semantic properties with the power of a fulltext search engine (lucene), by defining custom search forms.

Requirements
Having Semantic MediaWiki installed is a precondition for the SolrStore extension: the code will not work without it.

You need the Following pieces of Software:
 * Semantic MediaWiki
 * Apache Solr
 * Apache Tomcat
 * php Client URL Library (cURL)

Installation
At first you need to install Solr. After that copy the Solr Configuration files from /SolrStore/solr-example/core0 to one of your Solr cores and restart your Tomcat.

To install this extension, add the following to LocalSettings.php:

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.

Version

 * Update 26.Sept.2012
 * Now SolrStore Indexes all Pages and the Fullwiki Text of a Page
 * New Parameters
 * Many Bugs Fixed

Known Bugs / Features

 * Some Query's still end in Exceptions, like an Open "(" without a cloing ")"
 * SolrStore has some problems with Namespaces. If you delete a Discussion Page, Solr also deletes the "Normal" Page from his index. This means you have to open and save the "Normal" Page again, so that Solr indexes the Page again. Don't worry this does not mean that your Page gets delete, it just don't 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