I want to know for example after the following Xquery:
for $d in input()/TEI/body/p
where tf:containsText ($d, "Omaha")
return $d
the index number of the word “Omaha”. I know there is a function called ino:DisplayIndex(), but I don’t know how to use it… Thanks for the help in advance.
Hi! thanks for the response. What I meant is: if an element is full-text indexed, then there may be a numerical number which is the index number for a word stored under this element. An analogue would be the session number in the web application. Am I explaining clear enough?
I’m afraid there is no way to query the index number for a string value. Even the “ino:DisplayIndex” administration function does not provide this kind of information.