Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

documentation-sunspot

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

documentation-sunspot

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Documentation Sunspot

This is a module for Documentation which replaces the searcher searcher with one powered by Sunspot and Apache's Solr. See http://sunspot.github.com/ for more information about Sunspot.

Installation

Add the gem to your Gemfile and run bundle.

gem 'documentation-sunspot'

Once installed, you should add an initializer to your Rails application to add configuration.

Documentation.config.searcher = Documentation::Searchers::Sunspot.new

Setup

Once installed, you'll probably want to index all your documents.

# Remove any existing index
Documentation.config.searcher.reset
# Index all pages
Documentation::Page.all.each(&:index)

FAQs

Package last updated on 17 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc