sqlite3 resource search

This implements a Resource Search plugin for bel.rb backed by a Sqlite3 database. The database utilizes Sqlite's FTS tables to provide full-text query over BEL Resource concepts.

Features

System Requirement

Todo

How can I use this?

bel.rb provides an approach to plugins that is meant to be uncomplicated. The following steps will get you started:

$ bin/bel plugins
Resource Search plugins
-----------------------

 Name:        Resource search on sqlite FTS
 Description: A resource search implementation using sqlite FTS capabilities.
search_plugin = BEL::Resource::Search.plugins[:sqlite]

search_plugin.create_search(:database_file => 'resources.db')

Development

branches

releases

Releases of bel-search-sqlite should follow these steps:

  1. Update the version in the VERSION file.

  2. Add changes for this version to the CHANGELOG file. This file is modelled after keepachangelog.com/.

  3. Push the changes for VERSION and CHANGELOG on the master branch.

  4. Ensure the master branch has all of the required changes.

  5. Create a git tag, named after the version, on the master branch. Push this tag to GitHub.

  6. Create the Ruby and Java RubyGem for bel-search-sqlite.

gem build .gemspec

gem build .gemspec-java

  1. Create a release on GitHub for this version and attach the gem files.

  2. Push gems to RubyGems.

gem push bel-search-sqlite-VERSION.gem

gem push bel-search-sqlite-VERSION-java.gem