Menu

#8 ArrayIndexOutOfBoundsException with order by query

open-later
None
7
2004-02-10
2004-02-10
No

The following query:
for $f in //book
order by $f/title
return $f/title

causes an ArrayIndexOutOfBoundsException when run
within the SampleApp.

Discussion

  • Howard Katz

    Howard Katz - 2004-02-10
    • priority: 5 --> 7
    • assigned_to: nobody --> howardk
    • status: open --> open-later
     
  • Howard Katz

    Howard Katz - 2004-02-10

    Logged In: YES
    user_id=134704

    This bug requires a (minor?) rearchitecting of the engine to
    handle "order by" clauses that span multiple documents, in
    which case the order of emitted documents in the ResultList
    is not necessarily in docId order (a simplifying but incorrect
    assumption I've been making to this point).

    I'm deferring resolution of this bug until 0.64.

     

Log in to post a comment.

MongoDB Logo MongoDB