OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xdi message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xdi] More on Search Filters / Scope ...


Regarding the depth of the response you are looking for, we had the same problem when we used XDI in Higgins (e.g. you want to get the list of "attributes" of an "entity", but you don't want to get sub-"attributes" or their "values"). We ended up introducing a $deep parameter in the message, where you could specify to which level you wanted a response.. E.g. if you set it to 1, you would get back only the contexts one level below =schwartz, but not anything deeper than that.

Regarding filters, we used to have something called XDI queries (originally proposed by Giovanni), where you could work with variables, constraints, etc., but we didn't fully develop it. I did an implementation of it that demonstrated some pretty complex queries, but it was not optimized and had really bad performance.

Markus

On Thu, Dec 22, 2011 at 10:55 PM, Michael Schwartz <mike@gluu.org> wrote:

XDI TC:

At OX, we are finding that it can be hard to get just the information you need.

For example, let's say the graph for ="" is 2GB. Somewhere in my graph, there is a reference to "important-email". How can I search my graph to find this information? There is no way to specify filters. Also, I still think scope is a nagging issue. Let's say I just want to find out the names of the contexts I have under =schwartz*messages. How can I do that? If I do a $get on =schwartz*messages, I'll get back the entire subtree.

I think these issues are going to be really important as we compete with SQL and LDAP, where you can express complex filters and conditions.

- Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: xdi-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: xdi-help@lists.oasis-open.org







[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]