Home
Download
Wiki
Demo
Open Source Native XML Database
About Us
Who we are
Acknowledgements
Documentation
Quick Start
Main Documentation
eXist Developer's Blog
Extension Modules
Feature Sheet
Function Library
XQuery Wikibook
Examples
All Examples
Bibliographic Demo
XML Acronyms
XQuery IDE (eXide)
XQuery Sandbox
Community
Mailing Lists
IRC Chat
Social Media
Development
Bug Tracker
ChangeLog
Javadoc
Source code
Submit Patches
Administration
Admin
Webstart Client
A RESTful browser for eXist Function Modules
Modules
>
util
>
index-key-documents
util
http://exist-db.org/xquery/util
A module for various utility extension functions.
index-key-documents
util:index-key-documents($nodes as node()*, $value as xs:anyAtomicType) xs:integer?
Return the number of documents for an indexed value.
$nodes
The nodes whose content is indexed
$value
The indexed value to search for
Returns the number of documents for the indexed value
index-key-documents
util:index-key-documents($nodes as node()*, $value as xs:anyAtomicType, $index as xs:string) xs:integer?
Return the number of documents for an indexed value.
$nodes
The nodes whose content is indexed
$value
The indexed value to search for
$index
The index in which the search is made
Returns the number of documents for the indexed value
Return to list of all modules