Given a query containing a mix of search terms and facets, what is the
best way to extract them into a sequence of strings?

For example, given "blah foo:bar baz:bot" are there any functions to
return "blah", "foo:bar" and "baz:bot" ?

Using the search api, I can add <return-query>true</return-query> to
option to get back the query xml and then extract them "manually" from
there, but I'm wondering if there's a function that will do it for me?

The function search:remove-constraint() allows me to remove them
individually, I just need to get them as individuals in the first
place.. :)


thanks
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general

Reply via email to