[SERVER-3281] Support $bit operator for binary types Created: 17/Jun/11  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-6399 Refactor update() code Closed
Duplicate
is duplicated by SERVER-8657 Add bitfied operators to query and up... Closed
Related
related to SERVER-3518 Bitwise query operators Closed
related to SERVER-4362 Add XOR operator to $bit Closed
is related to SERVER-8716 Various update() operators for Binary... Backlog
Assigned Teams:
Query Optimization
Participants:
Case:

 Description   

One way would be to use dot notation to specify the offset (field.###) and bits (bytes) to affect.



 Comments   
Comment by Scott Hernandez (Inactive) [ 11/Oct/13 ]

Yes Pieter, it would be good to match this with query support at the same time.

Comment by Kevin J. Rice [ 25/Feb/13 ]

This lets me store data much more compactly and yet still do updates. Cuts storage requirements for my data in half with attendant increases in speed (reduced page faults).

Comment by Pieter Willem Jordaan [ 29/Nov/11 ]

This would be great. This should also be applied to do queries over a section of binary data with an offset and length query.

Generated at Thu Feb 08 03:02:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.