From: Joe W. <jo...@gm...> - 2010-06-15 20:19:46
|
Hi Ben, > I have recently started to use the Lucene indexing and full-text > search functionality in eXist. I was wondering if it is possible to > get the document id from the lucene index of a hit. Depending on your needs, util:document-name($hit), util:collection-name($hit), and/or util:document-id($hit) should do the trick for you. See http://demo.exist-db.org/exist/functions/util/document-name, http://demo.exist-db.org/exist/functions/util/collection-name, and http://demo.exist-db.org/exist/functions/util/document-id. Cheers, Joe |