<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Tue Jun 18 18:20:45 CDT 2013

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 add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/JCBC-165/JCBC-165.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[JCBC-165] ComplexKey does not support partial compound keys with single field</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-165</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I can&amp;#39;t figure out how to do partial compound keys with a single value --&lt;br/&gt;
&lt;br/&gt;
ex. 1 - Specifying both parts of the key:&lt;br/&gt;
&lt;a href=&quot;http://localhost:8092/bucketname/_design/mydesigndoc/_view/myview?group_level=1&amp;startkey=&quot;&gt;http://localhost:8092/bucketname/_design/mydesigndoc/_view/myview?group_level=1&amp;amp;startkey=&lt;/a&gt;[&amp;quot;0&amp;quot;,1351742400000]&amp;amp;endkey=[&amp;quot;Z&amp;quot;,1353073898844]&lt;br/&gt;
&lt;br/&gt;
ex. 2 - Only specifying the first part of the key:&lt;br/&gt;
&lt;a href=&quot;http://localhost:8092/bucketname/_design/mydesigndoc/_view/myview?group_level=1&amp;startkey=&quot;&gt;http://localhost:8092/bucketname/_design/mydesigndoc/_view/myview?group_level=1&amp;amp;startkey=&lt;/a&gt;[&amp;quot;0&amp;quot;]&amp;amp;endkey=[&amp;quot;Z&amp;quot;]&lt;br/&gt;
&lt;br/&gt;
I can get ex. 1 to work via the Java client library, but I&amp;#39;ve had no luck with ex. 2.  I&amp;#39;ve tried setting ranges, complex keys and regular keys.  The closest I get is a query string where the &amp;quot;[&amp;quot; and &amp;quot;]&amp;quot; have been escaped which results in a bad URL.  I was only able to get this far by manually concatenating the &amp;quot;[&amp;quot; and &amp;quot;]&amp;quot; onto my key and using the query.setKey(String) method.&lt;br/&gt;
&lt;br/&gt;
I believe that ComplexKey should be able to handle ex 2 by calling ComplexKey.of(&amp;quot;0&amp;quot;) and ComplexKey.of(&amp;quot;Z&amp;quot;).</description>
                <environment></environment>
            <key id="21129">JCBC-165</key>
            <summary>ComplexKey does not support partial compound keys with single field</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ctash_jt">Chris Tashjian</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Dec 2012 14:40:04 -0600</created>
                <updated>Thu, 6 Dec 2012 03:05:40 -0600</updated>
                    <resolved>Thu, 6 Dec 2012 03:05:40 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.0</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45401" author="daschl" created="Tue, 4 Dec 2012 14:51:16 -0600"  >Correct, I came across it today as well.</comment>
                    <comment id="45469" author="daschl" created="Wed, 5 Dec 2012 11:13:57 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/23086/&quot;&gt;http://review.couchbase.org/#/c/23086/&lt;/a&gt;</comment>
                    <comment id="45557" author="daschl" created="Thu, 6 Dec 2012 03:05:40 -0600"  >you can now use the forceArray method on the ComplexKey to do this! .. will be available in 1.1.0.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10124</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>