Menu

#20 Allow document filename to be used as an index key

Next_Release
open
nobody
None
1
2015-08-06
2015-08-05
No

I'd like to create an index with filename being used as a key. I've tried the following:

create index "test"
on fn:collection("test")
by document-uri(.)
as xs:anyURI

I've got the following error:
2015/08/05 12:07:37 database query/update failed (SEDNA Message: ERROR SE5049
Not a structural XPath supplied.
Details: at (3:6), function call document-uri is not permitted in by-XPath

)

Discussion

  • Anonymous

    Anonymous - 2015-08-06
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2015-08-06
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB