Hello Maciej, Sedna supports full-text search using dtSearch engine, so you will need dtSearch license to use full-text search in Sedna.
dtSearch supports relevance ranking and giving more weight to some XML elements. Note that ftindex-scan function returns matching elements in arbitrary order (i.e. not sorted by relevance score), while ftwindex-scan returns elements orderer by their score. Currently there is no way to access relevance score values from XQuery in Sedna. Since, ftindex-scan function returns a sequence of elements you can easily add structural predicated to these results. Substring search is supported, though there's no way to speed it up with indexes (unless it's prefix search). Also note that ftindex-scan and similar functions are Sedna-specific and are not defined in XQuery standard. Currently Sedna doesn't support XQuery full-text search extensions or automatic use of indexes in queries. Thursday, July 15, 2010, 5:33:20 PM, you wrote: > Hello, > I'm a newbie to Sedna and before I start playing with the look I would > like whethere it can support me in realizing the following task. > I have a collection of XML documents (WSDLs---Web service definitions) > formated with respected to a pre-defined stable schema. I need to > execute (from PHP) search over XML documents. Search process includes: > - full-text search over chosen XML elements > - substring search over values of attributes of chosen XML elements > From what I've read on your site this can be done with Sedna. > I wonder whether it also: > (1) scores relevance of matching XML documents and ranks them (in any way) > (2) allows navigating to identify (in matching document) XML elements > with matched query terms and than navigating to parental/children nodes > in XML structure > (3) provides a way to give more weight to some XML element types during > relevance scoring. > Best regards, > Maciej -- Best regards, Roman mailto:[email protected] ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Sedna-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sedna-discussion
