Sites using this plugin

puzzle

Solr

This plugin implements a Noosfero Search Engine using Solr as its backbone.

Configuration

Copy plugins/solr/config/solr.yml.dist to plugins/solr/config/solr.yml. You will probably not need to customize this configuration, but have a look at it.

Server control

You may operate it manually using rake solr:start and rake solr:stop

Associated data

Solr allow you to define fields with the associated data to be indexed and searched. This allow, for example, to search for articles using tags or categories. Also done with acts_as_solr.

Boosts

Boosts make your search smarter and sensitive to data relevant to users.

Fields based

Done when indexing/searching is defined for a model using acts_as_solr, see plugins/solr/lib/ext/article.rb.

Content based

There is a nice example of that on plugins/solr/lib/ext/product.rb, on the hash SolrPlugin::Boosts.

Custom ordering

The SolrPlugin customize ordering on views, please see plugins/solr/lib/solr_plugin/search_helper.rb.

Solr's Schema

The Solr schema is defined at plugins/solr/vendor/plugins/acts_as_solr_reloaded/solr/solr/conf/schema.xml. There you may configure what filters are executed on index and query processes. For example, you can use language specific stemmers, like this:
<filter class="solr.ASCIIFoldingFilterFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>

<filter class="solr.StopFilterFactory" words="stopwords.pt.txt" />

<!-- stemming -->
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.pt.txt" />
<filter class="solr.PortugueseStemFilterFactory" />
<filter class="solr.PorterStemFilterFactory" />

Now run rake solr:download to download Solr's java binaries.


# Status
#2444 Pending Search block realizes the search but do not list them    
#2473 Pending Solr error while updating profile image N/A FullTextSearch
#2507 Pending Solr error after updating articles    
#2545 Rejected Solr Reindex Problems N/A  
#2564 WaitingForReview Profile Search Problem N/A  
#2797 Done Updating solr plugin 0.44.4  
#2933 WaitingForReview Index lat/lng on articles    
#3157 Done Fix search of STI subclasses 0.47.2  
#3270 WaitingForReview Fix product solr indexation    
#3291 Rejected Upgrade acts_as_solr_reloaded to rails3    
#3293 WaitingForReview Upgrade solr plugin to rails3    
#3294 Done Fix path and init loading order to be as in noosfero-rails2    
#3295 Done load tasks from plugins as in noosfero-rails2    

PluginForm edit

Name Solr
Name l10n pt:"Solr"
Small Description A search engine for Noosfero that uses Solr as its backbone search.
Small Description l10n pt:"Um motor de busca para o Noosfero que usa o Solr como base de busca."
Features FullTextSearch, GeoLocation, Infrastructure
Status Usable
Source https://gitlab.com/noosfero/noosfero/tree/master/plugins/solr
Topic revision: r5 - 01 Jun 2014, BraulioBhavamitraBO

irc Talk with Devs Now!

 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2018 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres