Hi Everyone, If I use search:search with a search phrase like this:
(cat OR dog); horse while including a punctuation-insensitive term-option then I get no results from a database which contains docs I would expect to match the phrase. E.g. the following query returns no results: xquery version "1.0-ml"; import module namespace search = "http://marklogic.com/appservices/search" at "/MarkLogic/appservices/search/search.xqy"; search:search( '(cat OR dog); horse', <options xmlns="http://marklogic.com/appservices/search"> <term> <term-option>punctuation-insensitive</term-option> </term> </options> ) However, running the same query with the punctuation-insensitive term-option commented out does return results for said database. Dropping the semi-colon or parens causes the search to return results when the punctuation-insensitive term-option is included. Does anyone know how to fix things so that (); doesn't cause results to disappear? Best, Tim Finney _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
