Hi Walt, Do you mean add the brackets to the grammer as another grouping indicator, so that the parser treats them like parens? Absolutely, yes.
But I think (and Tim can correct me) that he tripped up on the way that we used [] in the text of the tutorial. --Colleen ________________________________ From: [email protected] [[email protected]] on behalf of Walt Perez [[email protected]] Sent: Friday, December 13, 2013 1:36 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Search API Syntax? Could you add them to the stop list? -Walt Perez Sent from my iPhone On Dec 13, 2013, at 4:31 PM, "Colleen Whitney" <[email protected]<mailto:[email protected]>> wrote: Oh, I see what you mean now. Let me ponder that a little and see if there's a better way to demarcate the things that are in brackets, I see how that could be confusing. Cheers, --Colleen ________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of Timothy W. Cook [[email protected]<mailto:[email protected]>] Sent: Friday, December 13, 2013 11:53 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Search API Syntax? On Fri, Dec 13, 2013 at 4:43 PM, Colleen Whitney <[email protected]<mailto:[email protected]>> wrote: The default search grammar (tip: use search:default-options() to see those) uses parentheses for grouping, e.g. "(cat AND dog) OR cow". You've got square brackets, so those are being parsed as literals with your terms. I don't see the brackets in the tutorial on a quick scan...but if you can tell me which section to look in, I'll see about getting that fixed. Apologies, you asked for the section. They are throughout the tutorial in the text, not in the queries. Though there aren't really any examples like I was trying to build. I am not certain what the brackets in the text is supposed to represent since they are not part of the search text. Thanks, Tim _______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
