<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:03:17 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-3518] Bitwise query operators</title>
                <link>https://jira.mongodb.org/browse/SERVER-3518</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We&apos;ve decided to implement a few bit-test query operators:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;$bitsAllSet&lt;/b&gt; - matches if the input bit positions are all 1&lt;br/&gt;
&lt;b&gt;$bitsAllClear&lt;/b&gt; - matches if the input bit positions are all 0&lt;br/&gt;
&lt;b&gt;$bitsAnySet&lt;/b&gt; - matches if any of the bit positions are 1&lt;br/&gt;
&lt;b&gt;$bitsAnyClear&lt;/b&gt; - matches if any of the bit positions are 0&lt;/p&gt;

&lt;p&gt;These operators can take an array of bit positions, a 64-bit number bitmask, or a BinData bitmask. For the number and BinData bitmasks, the bit positions to check are the positions of 1&apos;s in their binary representation.&lt;/p&gt;

&lt;p&gt;The operators will only match against int32, int64, doubles, and binary data. Other types will not match.&lt;/p&gt;

&lt;p&gt;Note that bit position 0 means the least significant bit.&lt;/p&gt;

&lt;p&gt;An example using the array of bit positions syntax:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.foo.insert( { a: 43 } ); // Binary form: 101011 (leading zeroes truncated)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.foo.find( { a: { $bitsAllSet: [0, 1, 3] } }, { _id: 0, a: 1 } );&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Result: { a: 43 }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;An example using the bitmask syntax:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.foo.insert( { a: 43 } ); // Binary form: 101011 (leading zeroes truncated)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.foo.find( { a: { $bitsAllSet: 9 } }, { _id: 0, a: 1 } ); // Binary form of the bitmask: 1001&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Result: { a: 43 }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment>All</environment>
        <key id="20399">SERVER-3518</key>
            <summary>Bitwise query operators</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="qingyang.chen">Qingyang Chen</assignee>
                                    <reporter username="basicwolf">Zaur Nasibov</reporter>
                        <labels>
                            <label>bitwise</label>
                            <label>query</label>
                    </labels>
                <created>Tue, 2 Aug 2011 12:45:55 +0000</created>
                <updated>Tue, 16 Nov 2021 17:04:11 +0000</updated>
                            <resolved>Tue, 14 Jul 2015 18:17:45 +0000</resolved>
                                                    <fixVersion>3.1.6</fixVersion>
                                    <component>Querying</component>
                                        <votes>114</votes>
                                    <watches>82</watches>
                                                                                                                <comments>
                            <comment id="1689380" author="p.litvinenko" created="Wed, 4 Oct 2017 19:09:23 +0000"  >&lt;p&gt;I would like to pay attention to this issue, this function is very need in my project&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25823&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-25823&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1051284" author="ramon.fernandez" created="Mon, 5 Oct 2015 16:27:22 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rahbari&quot; class=&quot;user-hover&quot; rel=&quot;rahbari&quot;&gt;rahbari&lt;/a&gt;, this is indeed a limitation of this first implementation. Further work may include the use of indexes, but we haven&apos;t created a ticket for that yet &amp;#8211; feel free to do so if you wish.&lt;/p&gt;</comment>
                            <comment id="1050554" author="rahbari@gmail.com" created="Sat, 3 Oct 2015 18:31:01 +0000"  >&lt;p&gt;I can understand why bitwise operator doesn&#8217;t utilize indexes, But I wonder if they are matched against an indexed field,  the data in memory is used for comparison but a full table scan from storage is done?&lt;/p&gt;</comment>
                            <comment id="1016846" author="craiggwilson" created="Fri, 28 Aug 2015 11:46:14 +0000"  >&lt;p&gt;Hi Nick,&lt;/p&gt;

&lt;p&gt;We have a &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;google groups list&lt;/a&gt; that is a great place to ask these types of questions.&lt;/p&gt;

&lt;p&gt;To answer you here, the current driver doesn&apos;t have strontly-typed support for this yet. It will be coming, likely in version 2.2 (which will line up with server 3.2). Until then, you can always construct this query manually using a BsonDocument... &lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;var filter = new BsonDocument(&quot;a&quot;, new BsonDocument(&quot;$bitsAllSet&quot;, 9));&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;await collection.Find(filter).ToListAsync();&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="1016631" author="neekfenwick" created="Fri, 28 Aug 2015 04:37:09 +0000"  >&lt;p&gt;Not sure if this is on-topic, but how would we filter for this using the Expression syntax in C# using the official driver?&lt;/p&gt;

&lt;p&gt;e.g.&lt;br/&gt;
    Expression&amp;lt;Func&amp;lt;MongoThing, bool&amp;gt;&amp;gt; filter = f =&amp;gt; f.bitfield &amp;amp; 128;&lt;br/&gt;
    var result = database&lt;br/&gt;
        .GetCollection&amp;lt;T&amp;gt;(CollectionName)&lt;br/&gt;
        .Find(filter);&lt;/p&gt;

&lt;p&gt;According to Properties on the MongoDB.Driver reference on our project we&apos;re using 2.0.1.27.  In order to get bitwise support in Mongo I had to uninstall 3.0.6 from our Ubuntu 14.04 server and set up a 3.1 repository and install the mongodb-org-unstable* group of packages.  How can we get a C# driver that also supports these new features?&lt;/p&gt;</comment>
                            <comment id="968011" author="xgen-internal-githook" created="Thu, 16 Jul 2015 17:18:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;coollog&apos;, u&apos;name&apos;: u&apos;Qingyang Chen&apos;, u&apos;email&apos;: u&apos;qingyang.chen@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3518&quot; title=&quot;Bitwise query operators&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3518&quot;&gt;&lt;del&gt;SERVER-3518&lt;/del&gt;&lt;/a&gt; Tests for full code coverage in bit test query operators&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d09c418c8b5fb5ccc7c2864cac8367d1f849bef1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d09c418c8b5fb5ccc7c2864cac8367d1f849bef1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="966411" author="asya" created="Wed, 15 Jul 2015 07:17:13 +0000"  >&lt;p&gt;Regarding index use by $bitwise query operators, please create a new ticket requesting this new feature.  Keep in mind that since currently in MongoDB Indexes hold the values that are searched for it would not be a trivial task to implement it.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nifan&quot; class=&quot;user-hover&quot; rel=&quot;nifan&quot;&gt;nifan&lt;/a&gt; discussion of performance of different ways of implementing this probably fits better on mongodb-user google group rather than in this  ticket.&lt;/p&gt;
</comment>
                            <comment id="966391" author="nifan" created="Wed, 15 Jul 2015 06:42:16 +0000"  >&lt;p&gt;IMO the array of list values is a workaround in itself for these cases which we would like to get rid of.&lt;/p&gt;

&lt;p&gt;An array will not work with capped collections, since adding a flag will change the size of the document. &lt;br/&gt;
In non-capped collections it may trigger a relocation or (with powerof2 now default) at the very least a rewrite of the document.&lt;/p&gt;

&lt;p&gt;Which should all performance significantly worse then an in-place update on an int or byte field.&lt;/p&gt;

&lt;p&gt;The index would probably be much more compact then indexing a list of things and querying by bitmask probably faster then doing a &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;foo&amp;quot;, &amp;quot;bar&amp;quot;, &amp;quot;egg&amp;quot;&amp;#93;&lt;/span&gt; in some-list for each document.&lt;/p&gt;

&lt;p&gt;For my use cases I&apos;m with Jeremy; I really like the new operators but they are not very helpful if they cannot use an index.&lt;/p&gt;</comment>
                            <comment id="966214" author="asya" created="Tue, 14 Jul 2015 22:33:46 +0000"  >&lt;p&gt;Since $where involves JavaScript and these operators would run on the server natively, $where will likely be slower in all cases.&lt;/p&gt;

&lt;p&gt;Don&apos;t forget that in cases where there are other conditions in addition to the bitwise operator, those conditions can use available indexes, meanwhile if using array of list values is working well for you, there should be no reason to switch.&lt;/p&gt;

&lt;p&gt;In addition, $where cannot be used in some cases where the bitwise operators can be used (i.e. aggregation framework $match phase,  in nested documents ie $elemMatch).&lt;/p&gt;</comment>
                            <comment id="966191" author="tpneumat" created="Tue, 14 Jul 2015 22:09:06 +0000"  >&lt;p&gt;Glad to see progress here, but without using an index, will this perform any better than the previous solution of using the $where. e.g.  &apos;$where&apos;=&amp;gt;&apos;!(this.code &amp;amp; 8)&#8217;?&lt;/p&gt;

&lt;p&gt;Bitwise operators that don&apos;t use indexes will not help us at all.  Will stick to array list of values until this happens.&lt;/p&gt;</comment>
                            <comment id="966079" author="asya" created="Tue, 14 Jul 2015 20:28:01 +0000"  >&lt;p&gt;Index behavior will be documented, but keep in mind that this is not a new scenario - many regular expressions cannot use indexes either.&lt;/p&gt;</comment>
                            <comment id="966059" author="nifan" created="Tue, 14 Jul 2015 20:12:17 +0000"  >&lt;p&gt;David Storch, is there a ticket for that we can follow and vote on ? &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Could we also add a hint about not supporting indexes (yet) to the documentation ?&lt;/p&gt;

&lt;p&gt;As I think people would expect queries to be able to use indexes for bitwise queries and might be disappointed and confused when queries turn out to be slower then an equivalent none bitwise schema. (eg: indexed list of permissions/flags/status vs indexed integer field with bitmask operations)&lt;/p&gt;
</comment>
                            <comment id="966038" author="david.storch" created="Tue, 14 Jul 2015 19:52:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nifan&quot; class=&quot;user-hover&quot; rel=&quot;nifan&quot;&gt;nifan&lt;/a&gt;, no, the query predicates introduced in this ticket will never be answered using an index. This is conceivable as future work, but is not currently planned.&lt;/p&gt;</comment>
                            <comment id="966030" author="nifan" created="Tue, 14 Jul 2015 19:45:26 +0000"  >&lt;p&gt;Just to be sure, will bit wise query operations take advantage of an (compound) index on the field ?&lt;/p&gt;
</comment>
                            <comment id="965931" author="xgen-internal-githook" created="Tue, 14 Jul 2015 18:17:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;coollog&apos;, u&apos;name&apos;: u&apos;Qingyang Chen&apos;, u&apos;email&apos;: u&apos;qingyang.chen@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3518&quot; title=&quot;Bitwise query operators&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3518&quot;&gt;&lt;del&gt;SERVER-3518&lt;/del&gt;&lt;/a&gt; Bit test query operators&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8d34c171bb7d636c479d508937fe748377afc55a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8d34c171bb7d636c479d508937fe748377afc55a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="955814" author="david.storch" created="Wed, 1 Jul 2015 17:14:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nifan&quot; class=&quot;user-hover&quot; rel=&quot;nifan&quot;&gt;nifan&lt;/a&gt;, thanks! I updated the description based on your example.&lt;/p&gt;</comment>
                            <comment id="955724" author="nifan" created="Wed, 1 Jul 2015 15:44:54 +0000"  >&lt;p&gt;Ah I was assuming using the most significant bit first. (going left to right)&lt;br/&gt;
But this implementation makes more sense.&lt;/p&gt;

&lt;p&gt;Can we chose a different example ? for example 43:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Binary representation: 101011&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                 Bit indexes: 543210&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.foo.insert( { a: 43 } ); // Binary form: 101011 (leading zeroes truncated)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.foo.find( { a: { $bitsAllSet: [0, 1, 3] } }, { _id: 0, a: 1 } );&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Result: { a: 43 }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;That example is would have only one way to interpret the result I think.&lt;/p&gt;

&lt;p&gt;I also removed the 5&apos;th bit position to indicate that not all the indexes have to be specified to match 43.&lt;/p&gt;
</comment>
                            <comment id="955691" author="david.storch" created="Wed, 1 Jul 2015 15:17:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nifan&quot; class=&quot;user-hover&quot; rel=&quot;nifan&quot;&gt;nifan&lt;/a&gt;, I believe that the bit positions are zero-based, &lt;em&gt;not&lt;/em&gt; one-based. The following shows the indexes of each bit for the binary representation of 54:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Binary representation: 110110&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;          Bit indexes: 543210&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;This is why 54 matches when you ask for bit positions 1, 2, 4, and 5. Does this clarify the specification of the feature?&lt;/p&gt;

&lt;p&gt;Best,&lt;br/&gt;
Dave&lt;/p&gt;</comment>
                            <comment id="955661" author="nifan" created="Wed, 1 Jul 2015 14:57:59 +0000"  >&lt;p&gt;Let&apos;s be careful that the documentation will reflect that this is 1-based not 0-based.&lt;/p&gt;

&lt;p&gt;One might expect it would be 0-based.&lt;br/&gt;
Given that A is an int which gets used as a bit array and arrays normally being indexed starting at 0 not 1.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.foo.insert( { a: 54 } ); // Binary form: 110110 (leading zeroes truncated)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.foo.find( { a: { $bitsAllSet: [0, 1, 3, 4] } }, { _id: 0, a: 1 } );&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Result: { a: 54 }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="955625" author="qingyang.chen" created="Wed, 1 Jul 2015 14:32:17 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=pulsar&quot; class=&quot;user-hover&quot; rel=&quot;pulsar&quot;&gt;pulsar&lt;/a&gt;: This feature is planned and under development. I have updated the description of the ticket to reflect what we have decided to implement.&lt;/p&gt;</comment>
                            <comment id="955623" author="asya" created="Wed, 1 Jul 2015 14:31:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=pulsar&quot; class=&quot;user-hover&quot; rel=&quot;pulsar&quot;&gt;pulsar&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When the fix version is set (as it is now) to a specific release, it means we have scheduled for this feature to go into that release.   In the case of this ticket, it&apos;s targeted for 3.1.6 dev release - meaning that it would be in 3.2 production release, scheduled for later this year.&lt;/p&gt;

&lt;p&gt;The status indicates that the work is &quot;in progress&quot; so I would say that it&apos;s not just planned, it&apos;s already scheduled.&lt;/p&gt;

&lt;p&gt;Asya Kamsky&lt;br/&gt;
Lead Product Manager,&lt;br/&gt;
MongoDB Server&lt;/p&gt;</comment>
                            <comment id="955429" author="pulsar" created="Wed, 1 Jul 2015 08:46:22 +0000"  >&lt;p&gt;hi,&lt;/p&gt;

&lt;p&gt;We need to know if this feature is planned or not ? this is very important for us dev logic ,&lt;br/&gt;
we cannot replace the logic by a kind of hack , we need this native for using mongo db &lt;/p&gt;

&lt;p&gt;regards&lt;/p&gt;</comment>
                            <comment id="867451" author="tpneumat" created="Mon, 30 Mar 2015 13:37:45 +0000"  >&lt;p&gt;Agreed.  Can we please, please, pretty please get this feature? &lt;/p&gt;</comment>
                            <comment id="867441" author="alainc" created="Mon, 30 Mar 2015 13:23:43 +0000"  >&lt;p&gt;I cant understand how the $bit operator for update can be available for this long time with no counterpart in queries. Seems completely silly to me !&lt;/p&gt;

&lt;p&gt;There was an attempt to implement it here: &lt;a href=&quot;https://github.com/mongodb/mongo/pull/168&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/168&lt;/a&gt;, but it was cancelled because the code evolved  too much...&lt;/p&gt;</comment>
                            <comment id="794214" author="vrobert120" created="Sat, 27 Dec 2014 13:08:08 +0000"  >&lt;p&gt;We fully agree with the comments of Guipulsar and our position is similar. We have requested this feature a very long time ago and we still have no planning/schedule for the implementation. This is not serious.&lt;/p&gt;</comment>
                            <comment id="794213" author="pulsar" created="Sat, 27 Dec 2014 13:02:10 +0000"  >&lt;p&gt;thhanks for ur alternative propositions but concerning bitwise there are no really alternative , thats why its so much important thing and future, i will continue to pushup this feature request , honestly i think mongo devloppers made a serious mistake when flagging this at &quot; trivial &quot; and &quot;planing but not scheduled &quot; ;&lt;br/&gt;
In fact , because this statut , we&apos;re thinking to move for another nosql solution... we are pretty grow company with many projects , we find mongo interesting , but the lack of bitwise is a serious thing unfortunatly. I guess im not alone at all in this case . Hope developers will manifest some talk about , before many projects leave away ..&lt;/p&gt;</comment>
                            <comment id="794178" author="cogent" created="Sat, 27 Dec 2014 03:39:04 +0000"  >&lt;p&gt;I didn&apos;t say anything about 450 keywords. I don&apos;t know the details of your application. Maybe bitwise flags are more useful for your purposes. It&apos;s possible a different architecture would be required to eliminate your usage of bitwise flags.&lt;/p&gt;

&lt;p&gt;Awyways, I am not a MongoDB developer and have no control over their development path. I&apos;m watching this issue myself because I&apos;m interested in this feature becoming available. I&apos;m only trying to help point you to the alternatives that exist today. I wish you good luck!&lt;/p&gt;</comment>
                            <comment id="794175" author="pulsar" created="Sat, 27 Dec 2014 02:42:54 +0000"  >&lt;p&gt;im simply not agree at all.. first our flow has been reflect from years, all apps input are capped to 50 , all this discussion has been benchmarked for a while you know.. Think an application who search for 15 keywords with 30 variation for each ..You continue to agree for putting 450 keywords string in ur post ? lol&lt;br/&gt;
if its trivial for you, i guess we are not talking of the same things...You should call google to inform them that string array are more powerfull bitwise... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="794174" author="cogent" created="Sat, 27 Dec 2014 02:25:13 +0000"  >&lt;p&gt;That doesn&apos;t seem any easier to work with. You&apos;re right that the query itself is shorter because you can add the values you are looking for rather than enumerate them. However, if you have 30 bitwise flags you certainly won&apos;t be working with numbers like 126. 2^30 is 1073741824. Using bigint, once you&apos;ve hit 62 flags, that is the highest number of bitwise flags you can have and store them all together and you&apos;re reaching the limit and using up a 64-bit int.&lt;/p&gt;

&lt;p&gt;Secondly, an embedded array can be indexed by MongoDB. So by using arrays you won&apos;t be limited in the number of possible values or the size of int/bigint AND your query can use an index and be very fast. It&apos;s also easier to manage because you don&apos;t have to convert your flags to their bit position. The only disadvantage is a longer query, which i&apos;d say is trivial.&lt;/p&gt;</comment>
                            <comment id="794173" author="pulsar" created="Sat, 27 Dec 2014 01:46:30 +0000"  >&lt;p&gt;number will always more simple .. imagine a common flow with a ton of keywords, with bitwise&lt;br/&gt;
each input form is a number value  who is multiplied by 2 , so a =1 , b =2 , c=4 ..&lt;br/&gt;
Your user select a and b , so this user have a flag 3 . This is so much powerfull now to search&lt;br/&gt;
where X &amp;amp; 3 . Now imagine ur input with 30 values .. you prefer where X &amp;amp; 126 or where X $in (&apos;a&apos; , &apos;ton&apos; ,&apos; of&apos; ,  &apos;powerless&apos; , &apos;strings&apos;  &apos;with&apos; ,  &apos;many&apos;  , &apos;coma&apos;  , &apos;and&apos; , &apos;an&apos; , &apos;heavy&apos; , &apos;post&apos;, &apos;data&apos; , &apos;in&apos; , &apos;extra&apos; )  ?&lt;br/&gt;
Thats the common way infact when many tags comes...String array are not an alternative, really.&lt;/p&gt;</comment>
                            <comment id="793694" author="cogent" created="Wed, 24 Dec 2014 16:18:04 +0000"  >&lt;p&gt;I can only guess as to why this has been deemed low priority.&lt;/p&gt;

&lt;p&gt;In my experience, this really has limited applications and can always be replaced by something more robust and scalable. MongoDB supports arrays, which can be used in much the same way. I would say you are better off using arrays rather than holding your breath for bitwise operators.&lt;/p&gt;

&lt;p&gt;Array query operators - &lt;a href=&quot;http://docs.mongodb.org/manual/reference/operator/query-array/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/operator/query-array/&lt;/a&gt;&lt;br/&gt;
Array update operators - &lt;a href=&quot;http://docs.mongodb.org/manual/reference/operator/update-array/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/operator/update-array/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="793647" author="pulsar" created="Wed, 24 Dec 2014 14:39:36 +0000"  >&lt;p&gt;oh gosh theres no bitwise support actually ?!? &lt;br/&gt;
From SQL we made  search like this :&lt;br/&gt;
where bob &amp;amp; 6 and foo &amp;amp; 1 ,etc...&lt;br/&gt;
i just need it for all my projects.. this feature is no planned ? i guess isomething is wrong.. Say me there is an alternative please..&lt;/p&gt;</comment>
                            <comment id="768433" author="alfredo" created="Wed, 19 Nov 2014 22:10:16 +0000"  >&lt;p&gt;Also, I feel pretty strongly that &quot;Trivial&quot;, regardless of actual context, is a misnomer for this feature. Overall DB size, query performance and bitwise implementations are affected by this.&lt;/p&gt;

&lt;p&gt;Just my $0.02 &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="768431" author="alfredo" created="Wed, 19 Nov 2014 22:08:34 +0000"  >&lt;p&gt;Where are we at with this folks (cc: 10gen/Mongodb Inc) ?&lt;/p&gt;

&lt;p&gt;Crucial stuff here for lots of folks.&lt;/p&gt;</comment>
                            <comment id="738620" author="lplessmann" created="Fri, 10 Oct 2014 14:59:07 +0000"  >&lt;p&gt;db.collection.findOne({field: {$bit: &lt;/p&gt;
{ or: 1 }
&lt;p&gt;}})&lt;br/&gt;
=&amp;gt; to get all records where the bit 1 of the field &quot;field&quot; has been set.&lt;br/&gt;
Would be a smart feature to keep the diskspace low because you can store many flags within one single field)&lt;/p&gt;</comment>
                            <comment id="679458" author="kenbkop" created="Sat, 2 Aug 2014 06:49:47 +0000"  >&lt;p&gt;Having the ability to query based on bits is extremely important if one is to use the $bit operator at all.  The whole purpose for the $bit operator in the first place is to store things like permission bits and so forth.  The current $bit update operator is a step in the right direction, but what you do not have is the ability to turn bits off, since you don&apos;t support the &quot;invert&quot; operation at all, and it seems from the examples that you only support a single bit operation on a field.  To turn bits off you need to do both an AND and an INVERT, so it might be easiest to support a single &quot;off&quot; which does &amp;amp; and ~:&lt;/p&gt;

&lt;p&gt;Turn bits on: $bit: {value: { on: 0x34 }}      &amp;lt;-- this would do (value = value | 0x34)&lt;br/&gt;
Turn bits off: $bit: {value: { off: 0x34 }}      &amp;lt;-- this would do (value = value &amp;amp; ~0x34)&lt;/p&gt;

&lt;p&gt;Test for ANY bits in a mask: $bit: {value: {any: 0x34}}       &amp;lt;-- this would do (value &amp;amp; 0x34) != 0&lt;br/&gt;
Test for ALL bits in a mask: $bit: {value: {all: 0x34}}          &amp;lt;-- this would do (value &amp;amp; 0x34) == 0x34&lt;br/&gt;
Test for NO bits in a mask: $bit: {value: {none: 0x34}}      &amp;lt;-- this would do (value &amp;amp; 0x34) == 0;&lt;/p&gt;

&lt;p&gt;So, the point is, given the usual way that bits are used to store compact information, having XOR and AND by themselves for updating are of limited value.  AND is really of importance when querying, but not having both ANY and ALL will require you to choose how the results of an AND operation are interpreted, and invariable you will get it wrong in half the cases.  Better for you to support both and we will love you for it &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Please include this as soon as possible, as it is EXTREMELY useful and would be used by many people if made available.&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;</comment>
                            <comment id="603625" author="danzaner" created="Sat, 31 May 2014 17:38:38 +0000"  >&lt;p&gt;+1 for this feature. This would be a tremendous help.&lt;/p&gt;</comment>
                            <comment id="519046" author="hansstevens" created="Wed, 19 Mar 2014 09:38:09 +0000"  >&lt;p&gt;+1 for this feature!&lt;/p&gt;</comment>
                            <comment id="517602" author="fred.luhamaa" created="Mon, 17 Mar 2014 17:57:38 +0000"  >&lt;p&gt;+1 for this feature. Would be really great addition.&lt;/p&gt;</comment>
                            <comment id="495746" author="tpneumat" created="Sat, 8 Feb 2014 14:03:00 +0000"  >&lt;p&gt;Bump on this issue.   81 votes and still not assigned to anyone?&lt;/p&gt;</comment>
                            <comment id="462612" author="jakew" created="Wed, 27 Nov 2013 12:22:10 +0000"  >&lt;p&gt;Would really like to have this feature. Our data will be processed by different flows, and we need a field to record which flows have been run with the data. A single int field is good to record flow types via bitwise &apos;or&apos;, and then querying a specific flow type, we will need bitwise &apos;and&apos;.&lt;/p&gt;</comment>
                            <comment id="461824" author="bhandariroshan" created="Tue, 26 Nov 2013 06:24:34 +0000"  >&lt;p&gt;I would really appreciate if there were bitwise query operators ($bitand, $bitor). &lt;/p&gt;</comment>
                            <comment id="454982" author="tpneumat" created="Tue, 12 Nov 2013 16:55:03 +0000"  >&lt;p&gt;Would really like this feature.  We use a bitwise field for stacking together various error codes, but there is no way to filter on them in mongo without the javascript (slow) query. &lt;/p&gt;</comment>
                            <comment id="388632" author="kenahoo" created="Thu, 25 Jul 2013 14:58:18 +0000"  >&lt;p&gt;+1 for bitwise querying operators.  Would really help subsetting the data into buckets.&lt;/p&gt;</comment>
                            <comment id="353607" author="alex1829" created="Wed, 5 Jun 2013 14:34:25 +0000"  >&lt;p&gt;To extend Alex comment, workaround with scala + lift + casbah:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;def&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; createBitWiseQueryScript(fieldName &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; String, filter &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; Int) &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; String &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;(this.&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; + fieldName + &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot; &amp;amp; &quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; +  filter +  &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;) == &quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; + filter&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;then :&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;val&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; qs &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;  $where(createBitWiseQueryScript(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;myField&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;,myFilterValue))&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    MyCollection.findAll( &lt;/span&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// lift Mongodb adapter&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;      qs, &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;      MongoDBObject(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;mySortingField&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; -&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;),  &lt;/span&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// sorting result&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;      Limit(&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;))&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Alexandre Richonnier &lt;/p&gt;</comment>
                            <comment id="317124" author="omanand" created="Fri, 19 Apr 2013 17:11:18 +0000"  >&lt;p&gt;+1 for $bitand support.&lt;/p&gt;</comment>
                            <comment id="303964" author="polo_wang@trend.com.tw" created="Tue, 2 Apr 2013 09:20:39 +0000"  >&lt;p&gt;+1 for bitwise operation on query cirteria&lt;/p&gt;</comment>
                            <comment id="272870" author="nuknuksan" created="Fri, 22 Feb 2013 07:18:51 +0000"  >&lt;p&gt;+1 for bitwise operations on numeric, +2 if we can get byte array or binary object of arbitrary size to support bit set operations, bloom filters etc.&lt;/p&gt;</comment>
                            <comment id="266934" author="tolwi" created="Fri, 15 Feb 2013 09:17:38 +0000"  >&lt;p&gt;+1 for merging.&lt;/p&gt;

&lt;p&gt;Why did you implement bitwise updates without possibility to query by mask? What is the use case?&lt;/p&gt;

&lt;p&gt;PS my workaround is .find({$where : &quot;(this.FIELD &amp;amp; MASK) &amp;gt; 0&quot;})&lt;/p&gt;</comment>
                            <comment id="256555" author="joe1chen" created="Sat, 2 Feb 2013 17:09:25 +0000"  >&lt;p&gt;+1 for merging @shannon&apos;s pull request.&lt;/p&gt;</comment>
                            <comment id="198956" author="wjrs" created="Mon, 26 Nov 2012 08:52:56 +0000"  >&lt;p&gt;+1 for bitwise querying operators.&lt;br/&gt;
Is there any updated on the linked patch/pull status pls? &lt;br/&gt;
Something we can expect in a month, year, possibly not at all (concerned it&apos;s marked as trivial)?&lt;/p&gt;</comment>
                            <comment id="180482" author="march44" created="Tue, 30 Oct 2012 09:23:44 +0000"  >&lt;p&gt;+1 I want to store chemical structure fingerprints as binary, querying will needs bitwise operators to find potential matches.&lt;/p&gt;</comment>
                            <comment id="132704" author="weyrick" created="Thu, 14 Jun 2012 16:45:13 +0000"  >&lt;p&gt;Ok, so I&apos;m not sure there&apos;s a good way to query it back out like you need to in the latest version. My pending patch should solve your use case, though. It&apos;s waiting for review.&lt;/p&gt;</comment>
                            <comment id="132699" author="szoke" created="Thu, 14 Jun 2012 16:40:26 +0000"  >&lt;p&gt;Thanks for the link, it really helps.&lt;br/&gt;
In fact all our records contain 4 integers giving privileges. For example: to load only records that can be seen by the current user of the system, we run a query like &quot;SELECT blablabla FROM TableName WHERE blablabla AND (Read_Group &amp;amp; 25) != 0&quot;&lt;br/&gt;
In this case, 25 is the binary combination of three user groups (16 + 8 + 1)&lt;br/&gt;
So far, the only solution I see is to store an array and maybe use $elemMatch: &lt;/p&gt;
{value1: 1}
&lt;p&gt;, &lt;/p&gt;
{value2: 1}
&lt;p&gt;. I still  have to dig into that...&lt;/p&gt;</comment>
                            <comment id="132631" author="weyrick" created="Thu, 14 Jun 2012 14:50:34 +0000"  >&lt;p&gt;Szaniszlo, you can already do bitwise updates: &lt;a href=&quot;http://www.mongodb.org/display/DOCS/Updating#Updating-%24bit&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Updating#Updating-%24bit&lt;/a&gt; .. this bug is related specifically to querying. What do your corresponding SELECTs look like?&lt;/p&gt;</comment>
                            <comment id="132606" author="szoke" created="Thu, 14 Jun 2012 14:19:54 +0000"  >&lt;p&gt;I&apos;m currently trying to move our database to MongoDB. But all privileges are managed by flags stored in integers. Bitwise operations are absolutely mandatory for us.&lt;br/&gt;
Corresponding SQL queries look like : &quot;UPDATE TableName SET Read_Group = ((Read_Group &amp;amp; 27) | 5)&quot;&lt;/p&gt;</comment>
                            <comment id="128937" author="ian@10gen.com" created="Fri, 8 Jun 2012 20:11:41 +0000"  >&lt;p&gt;@shannon, right now we&apos;re basically in a code freeze to prep 2.2 - we&apos;ll be able to get someone to review this and talk about pulling it forward to 2.3 as soon as we&apos;ve got 2.2 completed and available.&lt;/p&gt;</comment>
                            <comment id="126616" author="weyrick" created="Tue, 5 Jun 2012 21:09:47 +0000"  >&lt;p&gt;This has a pending pull request here: &lt;a href=&quot;https://github.com/mongodb/mongo/pull/168&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/168&lt;/a&gt;&lt;br/&gt;
If someone has a use case not covered by this patch (see the test case in the patch), please comment.&lt;/p&gt;</comment>
                            <comment id="90236" author="pboos" created="Mon, 20 Feb 2012 23:52:47 +0000"  >&lt;p&gt;+1&lt;/p&gt;</comment>
                            <comment id="90098" author="emostar" created="Mon, 20 Feb 2012 14:15:42 +0000"  >&lt;p&gt;+1 from me too.&lt;/p&gt;</comment>
                            <comment id="82368" author="weyrick" created="Wed, 25 Jan 2012 21:10:25 +0000"  >&lt;p&gt;I&apos;ve started some work on this here: &lt;a href=&quot;https://github.com/weyrick/mongo/tree/server-3518&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/weyrick/mongo/tree/server-3518&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="79329" author="jerem" created="Thu, 12 Jan 2012 13:36:57 +0000"  >&lt;p&gt;It would be great to have this implemented. Especially since it is already possible to do bitwise updates with $bit. I definitely second this feature request!&lt;/p&gt;</comment>
                            <comment id="71707" author="mikeurbanski" created="Thu, 8 Dec 2011 16:45:38 +0000"  >&lt;p&gt;I agree.  I would love to move a large part of an application that I&apos;m working on away from PostgreSQL, but, it relies heavily on bitwise queries.&lt;/p&gt;</comment>
                            <comment id="68516" author="m.korbakov@nimble.com" created="Wed, 23 Nov 2011 11:22:24 +0000"  >&lt;p&gt;I second on this. Having bitwise queries enables some very memory-efficient structures like packed integers. It can be huge saving of index size.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="217097">DOCS-5855</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="66047">SERVER-8657</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="229600">CSHARP-1409</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="229598">JAVA-1962</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="209232">DRIVERS-235</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="312132">SERVER-25823</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="224576">DRIVERS-252</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="296164">SERVER-24749</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="18384">SERVER-3281</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>64.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000UaXKZIA3]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 23 Nov 2011 11:22:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 19 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-170</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 19 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alainc</customfieldvalue>
            <customfieldvalue>tolwi</customfieldvalue>
            <customfieldvalue>alex1829</customfieldvalue>
            <customfieldvalue>alfredo</customfieldvalue>
            <customfieldvalue>cogent</customfieldvalue>
            <customfieldvalue>rahbari@gmail.com</customfieldvalue>
            <customfieldvalue>march44</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>craig.wilson@mongodb.com</customfieldvalue>
            <customfieldvalue>danzaner</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>fred.luhamaa</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>pulsar</customfieldvalue>
            <customfieldvalue>hansstevens</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>jakew</customfieldvalue>
            <customfieldvalue>tpneumat</customfieldvalue>
            <customfieldvalue>jerem</customfieldvalue>
            <customfieldvalue>emostar</customfieldvalue>
            <customfieldvalue>joe1chen</customfieldvalue>
            <customfieldvalue>kenbkop</customfieldvalue>
            <customfieldvalue>kenahoo</customfieldvalue>
            <customfieldvalue>lplessmann</customfieldvalue>
            <customfieldvalue>m.korbakov@nimble.com</customfieldvalue>
            <customfieldvalue>mikeurbanski</customfieldvalue>
            <customfieldvalue>neekfenwick</customfieldvalue>
            <customfieldvalue>nifan</customfieldvalue>
            <customfieldvalue>nuknuksan</customfieldvalue>
            <customfieldvalue>omanand</customfieldvalue>
            <customfieldvalue>pboos</customfieldvalue>
            <customfieldvalue>p.litvinenko</customfieldvalue>
            <customfieldvalue>polo_wang@trend.com.tw</customfieldvalue>
            <customfieldvalue>qingyang.chen</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>bhandariroshan</customfieldvalue>
            <customfieldvalue>weyrick</customfieldvalue>
            <customfieldvalue>szoke</customfieldvalue>
            <customfieldvalue>vrobert120</customfieldvalue>
            <customfieldvalue>wjrs</customfieldvalue>
            <customfieldvalue>basicwolf</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroup3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrekdz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6293</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="572">Quint Iteration 6</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsa28v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>