Bugs item #2685898, was opened at 2009-03-13 06:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2685898&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Value Indecies
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: XPath expressions allowed in indexes are too restrictive

Initial Comment:
The structure of my XML is as follows:

<root>
   <page>
     <title>Page 1</title>
     <id>10</id>
   </page>
    ...

   <page>
     <title>Page 2</title>
     <id>20</id>
   </page>

</root>


I'd like the create an index for retrieving 'id' knowing 'title'. Smth like 
this:

CREATE INDEX 'id-by-title' ON collection("wiki")/root/page/id BY ../title AS 
xs:string

However, Sedna doesn't allow 'parent' axis in the index expressions. I'm having 
troubles understanding why?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2685898&group_id=129076

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to