[MarkLogic Dev General] Natural language version of a query?
tjf at tfinney.net
Wed Aug 15 14:29:12 PDT 2012
Has anyone here tried to produce a natural language equivalent of a
search string or the kind used in search:search? As an example, here is
an imaginary search string:
cat OR dog (author:"Smith, John" OR author:"Jones, Thomas")
I'd like to end up with something like this:
cat OR dog with authors "Smith, John" OR "Jones, Thomas" AND after
1984-03-01 AND before 1991-05-31
(Things are complicated by parentheses, NEAR, NOT, ...)
Are there any built-in functions for doing such a thing?
More information about the General