Boost logo

Boost Users :

Subject: [Boost-users] Advance usage of mutil index,need help.
From: 张大千 (mason105_at_[hidden])
Date: 2012-06-23 10:03:03


this is the story:
 suppose you have some files(files1,files2,files3) and some
usergroup(ug1,ug2,ug3).
and this is the struct

file{
    string name;
    set<string> group;
}

and
file1.name = "file1";
file1.group.insert("ug1");
file1.group.insert("ug2");
file1.group.insert("ug3");

file2.name = "file2";
file2.group.insert("ug2");

file3.name = "file3";
file3.group.insert("ug3");

and i need search by file name or group, and file name should can be
support fuzzy search (eg. *ile , *1 ....)
can boost mutil index do this,if can ,what kind index need?
or there is other way to do this?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net