31 Dec
2015
31 Dec
'15
1 p.m.
Hi Günter, Try something like this: for $p in //p for $hits in ft:mark($p[.//text() contains text 'real']) return <hit path="{ db:path($p) }">{ $hits }</hit> Cheers, Christian On Wed, Dec 30, 2015 at 9:12 PM, kleist <kleist@mail.dunzwolff.de> wrote:
Dear members, given for example: ft:mark(//p[.//text() contains text 'real']). This will yield some results. Is there any way, to link back to the documents, where p was found? I know, it would work without ft:mark, but I need the <mark>-tag inside of the results, especially for fuzzy-search-results.
Any help would be appreciated. - Günter