Hi,
I'm trying to provide a scalable way to retrieve element name from documents in
my repository.
For instance if I start writing "first", I'd like to see "firstname" if it
actually is an element name from any documents in my repository.
Currently I start with a full xpath expression but sure it is not performant :
> fn:distinct-values(doc()//*[fn:starts-with(fn:local-name(.),
> "firstname")]/fn:node-name(.))
As element name are obviously somewhere in the Marklogic Index, I expect to
find an API method to retrieve it, but right now I don't.
Does any one know how to improve this feature ?
Actually the need is to Find any element name in index which starts by ...
Thanks for help,
Stephane
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general