Hello! It's very simple to do. Sedna has special internal command that
shows all the information about indexes without scanning them.
For example:
test> *create index "testind" on doc("test")/mediawiki/namespaces/namespace
by @key as xs:string &*
UPDATE is executed successfully
test> *doc("$indexes") &*
<indexes>
<index name="testind" backend="btree" as_type="xs:string"
on_path="child::element(mediawiki)/child::element(namespaces)/child::element(namespace)"
by_path="attribute::attribute(key)" object_name="test"
object_type="document"/>
</indexes>
Best regards, Borisenko Oleg, Sedna team.
On Mon, Jan 7, 2013 at 6:17 PM, Robby Pelssers <[email protected]>wrote:
> Hi all,
>
> I was wondering if Sedna also has some functionality available to just
> read all keys from an index. So far I could only find the index-scan() in
> the docs which I already heavily use but this time I only want a set of
> keys.
>
> My use case is that I have indexes per collection for all logical document
> indentifiers. Ideally I'd want to use the index to retrieve the list of
> those identifiers by only using the index. As Sedna has this info stored
> (in my context), it would be great to get hold of it.
>
> So is it possible in some way?
>
> Robby
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> Sedna-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion