Searching Extensible MetadataSince the point of extensible metadata is that it is not tied to the structure of the database, there's no command to give for the database client to search it. It's just a big blob of XML in one field of the library. Efficient searching will be a serious problem. In the most obvious brute-force method, each entry's entire XMD field will have to be parsed when XMD is searched. This is a page to organize thoughts on how it can be efficiently implemented.
Idea 1: Triple elimination search
Basic premise: Start with a search that's very efficient to do, but inaccurate. Make several faster searches to close down to the entries that are desired. This plan would make a new field in the database necessary. It would simply be a field where the names of the XMD fields are listed.
Idea 2: Some form of XMD cache.
Basic premise: Store the XMD as live objects on some server somewhere.
Link to this Page