Search functionality moving forward
Posted by mholmes on 17 Nov 2009 in Activity log
Continuing work on the search system, to get it to a more usable state:
doc_with_refs.xq
now incorporates match-tagging using the old fulltext index system. This works to apply<exist:match>
tags for any-word or all-word searches.<exist:match>
tags in documents are now rendered highlighted in light grey, with yellow text (in the default theme).- In the case of exact-phrase matches, we have a different problem, because using the shorthand eXist &= or |= matches won't work. At the moment, I'm just highlighting all the words in the phrase. In the long run, we need to use the ft:query syntax to take advantage of the new Lucene features, but that doesn't seem to work at all in the Cocoon block build; that's something I'm still trying to figure out. It could be a problem with our eXist setup (although it seems to comply perfectly with the instructions), or with the Cocoon build process.