@wmfs/tymly-solr-plugin
Plugin which handles interaction with Apache Solr for Tymly framework
Last updated 2 days ago by wmfsbot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @wmfs/tymly-solr-plugin 
SYNC missed versions from official npm registry.

tymly-solr-plugin

Tymly Package npm (scoped) CircleCI codecov CodeFactor Dependabot badge Commitizen friendly JavaScript Style Guide license

This plugin handles interaction with Apache Solr.

On tymly startup, this plugin searches the loaded blueprints for models that have properties which should be indexed by Apache Solr. It then creates a database view referencing those properties. This service also provides functions to instruct Apache Solr to index data from a database table/view.

See the test blueprint in /test/fixtures/school-blueprint for an example of how to do this.

Install

$ npm install tymly-solr-plugin --save

Testing

Before running the tests, you'll need a test PostgreSQL database available and set a PG_CONNECTION_STRING environment variable to point to it, for example:

PG_CONNECTION_STRING=postgres://postgres:postgres@localhost:5432/my_test_db

You can also set an optional SOLR_URL environment variable to configure what Apache Solr instance to use. If the environment variable is not set the plugin will default to http://localhost:8983/solr. You can however explicitly configure what instance to use like this:

SOLR_URL=http://domain.com:8983/solr

Once the environment variables have been set, you can run the tests like this:

$ npm test

License

MIT

Current Tags

  • 2.9.0                                ...           latest (2 days ago)

69 Versions

  • 2.9.0                                ...           2 days ago
  • 2.8.3                                ...           14 days ago
  • 2.8.2                                ...           14 days ago
  • 2.8.1                                ...           a month ago
  • 2.8.0                                ...           a month ago
  • 2.7.2                                ...           a month ago
  • 2.7.1                                ...           a month ago
  • 2.7.0                                ...           3 months ago
  • 2.6.0                                ...           4 months ago
  • 2.5.0                                ...           4 months ago
  • 2.4.0                                ...           4 months ago
  • 2.3.0                                ...           4 months ago
  • 2.2.1                                ...           5 months ago
  • 2.2.0                                ...           5 months ago
  • 2.1.1                                ...           5 months ago
  • 2.1.0                                ...           7 months ago
  • 2.0.1                                ...           7 months ago
  • 2.0.0                                ...           8 months ago
  • 1.22.2                                ...           9 months ago
  • 1.22.1                                ...           9 months ago
  • 1.22.0                                ...           9 months ago
  • 1.21.0                                ...           9 months ago
  • 1.20.2                                ...           9 months ago
  • 1.20.1                                ...           9 months ago
  • 1.20.0                                ...           10 months ago
  • 1.19.0                                ...           a year ago
  • 1.18.0                                ...           a year ago
  • 1.17.0                                ...           a year ago
  • 1.16.0                                ...           a year ago
  • 1.15.0                                ...           a year ago
  • 1.14.3                                ...           a year ago
  • 1.14.2                                ...           a year ago
  • 1.14.1                                ...           a year ago
  • 1.14.0                                ...           a year ago
  • 1.13.0                                ...           a year ago
  • 1.12.1                                ...           a year ago
  • 1.12.0                                ...           a year ago
  • 1.11.0                                ...           a year ago
  • 1.10.2                                ...           a year ago
  • 1.10.1                                ...           a year ago
  • 1.10.0                                ...           a year ago
  • 1.9.2                                ...           a year ago
  • 1.9.1                                ...           a year ago
  • 1.9.0                                ...           a year ago
  • 1.8.2                                ...           a year ago
  • 1.8.1                                ...           a year ago
  • 1.8.0                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.13                                ...           2 years ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 11
This Month 11
Last Day 0
Last Week 1
Last Month 44
Dependencies (6)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |