irisjs-apachesolr

1.0.5 • Public • Published

Apache solr search integration for the IrisJS framework

Description

Integrate a fully featured search engine into your Iris site. Apache solr is a popular open-source search based on Lucene. Out of the box with this module you can choose which entity types you want to be indexed as well as which fields within those types should be indexed. A basic search page is provided at http://yoursite.com/search

Quick install

  1. In your project directory run 'npm install irisjs-apachesolr'
  2. Install Apache Solr (tested on version 5.5.0)
  3. Enable the irisjs-apachesolr module on your iris site - yoursite.com/admin/modules

Configure solr

At /admin/config/search/solr enter the connection details for you solr instance. Example based on solr setup above: host: 127.0.0.1 port: 8983 core: iris_shard1_replica1 path: /solr

Go to /admin/config/search/solr/entities to choose which entities and fields should be indexed.

How to use

  1. Add or Update an entity
  2. Navigate to /search
  3. Search for an entity that you have added eg: For keyword search ?filter=foo or field specific searchs ?filter=fieldname:foo
  4. enjoy and help improve the search POC page

Readme

Keywords

Package Sidebar

Install

npm i irisjs-apachesolr

Weekly Downloads

1

Version

1.0.5

License

ISC

Last publish

Collaborators

  • cityweb.adam