Search library for node.js or other platform

Is there a search library which can,

  1. Index / Search chat conversation as whole ( Eg. Search by date etc..)
  2. Index / Search chat conversation contents ( Search inside chat logs)
  3. Index / Search contacts and other misc information.
  4. Has a rest based api. (optional)

Preferred platform is node.js

There is: check out Norch, a search engine for Node.js