searching for a prefix glob should error

Bug #1003380 reported by John Lenton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
U1DB
Confirmed
Undecided
Unassigned

Bug Description

Currently searching an index for "*a" does an exact match:

$ ./u1db-client get-from-index /tmp/db1 index '*a' '*'
[{
    "content": {
        "key2": "value2-b",
        "key1": "*a"
    },
    "rev": "c3055cd9fa804dbb9cdb8e91a6e8e47e:1",
    "id": "D-a7dfb97640784d35bad835787939ea76"
}]

it should probably error out, instead.

Rick McBride (rmcbride)
Changed in u1db:
status: New → Confirmed
assignee: nobody → Eric Casteleijn (thisfred)
Changed in u1db:
assignee: Eric Casteleijn (thisfred) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.