Hello --
Is there some way to iterate full-text matches to mark up in the node every
found member of a sequence of phrases?
I have a use case where I have a long list of phrases which may appear in
the content set; if they do appear in the content set, these should be
marked.
The order of the list is significant; the longest phrases should be marked
first.
The idea would be to iterate through the list, marking up the node with any
matches.
However, so far as I can tell, full text only works directly on a database
node. If I try to pass the node in a function, I get "No database node"
errors from attempting full-text operations.
(Making a copy of the DB with a full text index, applying the changes,
updating the indexes, and continuing seems possible but also inherently
inefficient.)
Is there a straightforward way to do this that I'm missing?
Thanks!
Graydon