The Data Lab menu
  • Topicsarrow_drop_down
  • Projects
  • Aboutarrow_drop_down
  • Get Connected
  • Machine Learning for Developers
  • Notebooks for Developers
  • Offline First
  • Partners + Data
  • Serverless + Data
  • Working with JSON
  • Team
  • Get Involved
  • Code of Conduct
  • Event Support
  • Projects
  • Topicsarrow_drop_down
  • Aboutarrow_drop_down
  • Get Connected
  • Machine Learning for Developers
  • Notebooks for Developers
  • Offline First
  • Partners + Data
  • Serverless + Data
  • Working with JSON
  • Team
  • Get Involved
  • Code of Conduct
  • Event Support
Working with JSON / Collection

Simple Search

Turn a CSV into an API that powers a search engine.

Glynn Bird
Making it easier to work with JSON.
More by Glynn Bird

Site search is one of the most important features for e-commerce companies. Users can search for terms and filter results by specific values, letting shoppers check out as quickly as possible. Implementing a faceted search engine like this for your app or website is easier than you think.

On this guitar search site, click a link on the right to narrow down results and find exactly what you want.

Simple Search Service is an IBM Bluemix app that lets you quickly create a faceted search engine, exposing an API you can use to bring search into your own apps. The service includes a guided web app that lets you preview the API and test it against your own data. Once you deploy, just upload your CSV or TSV data, specify which fields to facet, and the service handles the rest.

How it works

Deployment automatically provisions a Cloudant account, attaches it to the service, and presents a web app that lets you upload a data file. The service automatically imports that data into Cloudant, with every field indexed for search.

Architecture diagram of Simple Search Service

Simple Search Service then exposes a RESTful search API that your application can use. The API is CORS-enabled, so your client-side web app can use it without issue. The API is also caches popular searches in an in-memory data store for faster retrieval. You can scale this solution by adding multiple Simple Search Service nodes and a centralized cache that uses Redis by Compose (also available on Bluemix).

↓ View projects in this collection
Essentials
  • Simple Search on GitHub →

Projects

  • Sync Your Search Index in a Snap
    GitHub | Medium

    Synchronize Simple Search Service with the contents of a CouchDB-style database.

    • CouchDB
    • Cloudant
    • Nodejs
  • Simple Search Service
    GitHub | developerWorks

    Create a faceted search engine from a CSV, exposing an API you can use to bring search into your own apps.

    • Cloudant
    • Nodejs
    • Compose
    • Redis
  • Easy Frontends for Simple Search API
    GitHub | developerWorks

    Spin up your own custom UI for our facted search service.

    • JavaScript
  • Faceted Westeros: Easy Frontends for Simple Search API Using GoT Data
    GitHub | developerWorks | demo

    Custom frontends for Simple Search Service-based sites.

    • Cloudant
    • JavaScript
© 2017 IBM Watson Data Lab