Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Storing bitmaps and searching by matching to bitmask

No replies
  • Login or register to post comments
Thu, 02/28/2013 - 03:26
march44
Offline
Joined: 07/12/2012
Groups: None

I am trying to see if couchbase can support the following scenario, but I have not found a solution so far.

I am storing JSON documents that contain properties of chemical structures.

One of the properties is a bitfield that represent a fingerprint of the chemical structure, this allows characteristics of the structure to be captured in a compressed fixed length form.

When doing structure based searches a bitmask is generated and this needs to be AND'd with each fingerprint and all matches returned for full comparison.

I don't want to do the fingerprint matching in application code, there may be millions of structures to compare and it will simply be too slow.

Can anyone suggest a way to do this efficiently in couchbase, I have been looking at using views but I can't see how to do bitwise ANDing on HEX/base64 encoded binary values in a view/query .

Andy

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker