Indexing should support a "combine" or "select" statement
Bug #1000688 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB |
Fix Released
|
Wishlist
|
Eric Casteleijn |
Bug Description
This is a way to create an index that covers multiple attributes that you want to query against.
As a use case, imagine a document that has "first_name" and "last_name" as attributes, and you want to search both columns for anything matching "M*".
The syntax would be something like:
create_
Related branches
lp:~thisfred/u1db/combine-mapping-2
- Samuele Pedroni: Approve
-
Diff: 1304 lines (+603/-320)7 files modified.bzrignore (+1/-0)
CMakeLists.txt (+5/-0)
src/u1db.c (+1/-1)
src/u1db_query.c (+386/-264)
u1db/query_parser.py (+116/-53)
u1db/tests/test_backends.py (+28/-0)
u1db/tests/test_query_parser.py (+66/-2)
lp:~thisfred/u1db/combine-mapping-3
- Samuele Pedroni: Approve
-
Diff: 186 lines (+85/-3)5 files modifiedsrc/u1db_query.c (+20/-3)
u1db/query_parser.py (+21/-0)
u1db/tests/c_backend_wrapper.pyx (+6/-0)
u1db/tests/test_backends.py (+32/-0)
u1db/tests/test_query_parser.py (+6/-0)
Changed in u1db: | |
assignee: | nobody → Eric Casteleijn (thisfred) |
milestone: | none → pre-release |
status: | Confirmed → In Progress |
Changed in u1db: | |
status: | In Progress → Fix Committed |
Changed in u1db: | |
status: | Fix Committed → In Progress |
Changed in u1db: | |
status: | In Progress → Fix Committed |
Changed in u1db: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Alternatively this could be considered list concatenation.