General Actions:
The objective of this project is to exploit the Apache SOLR search engine as indexing and search engine for XWiki.
The idea of the project is to use Apache SOLR as the search engine for XWiki. XWiki is using Lucene as a core component for Wiki Search. Lucene is little hard to configure and doesn't support features like facet search, hit highlighting, customizing search relevancy using boost index out of the box. Solr stands out in its minimal configuration to implement the search engine.Few libraries and a couple of XML configuration files are sufficient to implement a well to do engine. Configuring multiple languages is easy in SOLR compared to Lucene.
Using SOLR, one can customize the indexing process by using required analyzers with selected tokenizers and set of filters on the dataset to generate highly customizable relevancy index. Through the front end, the user can select or configure the fields to be searched for and their weight which contributes to the document score. The SOLR component offers flexibility in the following ways.
XWiki-platform-search module is split into api and solr implementation. We can have a single Wiki Search API exposed to xwiki and have multiple components with different implementations of SOLR like Embedded Solr server, a remote solr server hosted on a different source, indexing and querying the database instead of XWiki document objects.. etc..
Link to the search API. Could be used by Lucene or Solr backend.
https://dl.dropbox.com/u/2027256/apidocs/xwiki-platform-search-api/apidocs/index.html
Link to the API of Embedded Solr Implementation
https://dl.dropbox.com/u/2027256/apidocs/xwiki-platform-search-solrj/apidocs/index.html