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] 
[[email protected]] on behalf of Timothy W. Cook 
[[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]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to