From: Wolfgang M. <wol...@gm...> - 2007-09-19 08:16:22
|
> i use eXist v1.2 , it has ngram function...and its useful. > In v1.1 when i use fulltext search, the hits will be included > in match tag,but in v1.2 not. > > A B anymore. > > from v1.2 eXist doesn't have match this function ? It has. You may just need to enable it. When using the Java client, edit client.properties and set highlight-matches=elements You can also enable match tagging in the XQuery, using a serialization option: declare option exist:serialize "highlight-matches=elements"; Add this to the top of your query and the serialized query results should always include the match tags. Wolfgang |