Changes

Jump to navigation Jump to search
6 bytes added ,  13:57, 20 May 2013
no edit summary
|-
| width='90' | '''Signatures'''
|{{Func|index:facets|$db as item()xs:string|xs:string}}<br/>{{Func|index:facets|$db as item()xs:string, $type as xs:string|xs:string}}
|-
|'''Summary'''
|Returns information about possible facets and facet values of the [[Database Module#Database Nodes|database node]] {{Code|$db}} in document structure format.<br/>If {{Code|$type}} is specified as {{Code|flat}}, the function returns this information in a flat summarized version.
|-
|'''Examples'''
|-
| width='90' | '''Signatures'''
|{{Func|index:texts|$db as item()xs:string|element(value)*}}<br/>{{Func|index:texts|$db as item()xs:string, $prefix as xs:string|element(value)*}}<br/>{{Func|index:texts|$db as item()xs:string, $start as xs:string, $ascending as xs:boolean|element(value)*}}
|-
|'''Summary'''
|Returns all strings stored in the text index of the [[Database Module#Database Nodes|database node]] {{Code|$db}}, along with their number of occurrences.<br/>If {{Code|$prefix}} is specified, the returned entries will be refined to the ones starting with that prefix.<br/>If {{Code|$start}} and {{Code|$ascending}} are specified, all nodes will be returned after or before the specified start entry.
|-
|'''Errors'''
|-
| width='90' | '''Signatures'''
|{{Func|index:attributes|$db as item()xs:string|element(value)*}}<br/>{{Func|index:attributes|$db as item()xs:string, $prefix as xs:string|element(value)*}}<br/>{{Func|index:attributes|$db as item()xs:string, $start as xs:string, $ascending as xs:boolean|element(value)*}}
|-
|'''Summary'''
|Returns all strings stored in the attribute index of the [[Database Module#Database Nodes|database node]] {{Code|$db}}, along with their number of occurrences.<br/>If {{Code|$prefix}} is specified, the returned entries will be refined to the ones starting with that prefix.<br/>If {{Code|$start}} and {{Code|$ascending}} are specified, all nodes will be returned after or before the specified start entry.
|-
|'''Errors'''
|-
| width='90' | '''Signatures'''
|{{Func|index:element-names|$db as item()xs:string|element(value)*}}
|-
|'''Summary'''
|Returns all element names stored in the index of the [[Database Module#Database Nodes|database node]] {{Code|$db}}, along with their number of occurrences.
|}
|-
| width='90' | '''Signatures'''
|{{Func|index:attribute-names|$db as item()xs:string|element(value)*}}
|-
|'''Summary'''
|Returns all attribute names stored in the index of the [[Database Module#Database Nodes|database node]] {{Code|$db}}, along with their number of occurrences.
|}
=Changelog=
 
;Version 7.7
 
* Updated: the functions no longer accept [[Database Module#Database Nodes|Database Nodes]] as reference. Instead, the name of a database must now be specified.
;Version 7.3
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu