Indexing should support a "combine" or "select" statement

Bug #1000688 reported by John A Meinel
6
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_index("names", "combine(first_name, last_name)")

Related branches

Revision history for this message
John A Meinel (jameinel) wrote :

Alternatively this could be considered list concatenation.

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.
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.