On 12/12/25 16:22, Mikhail Khludnev wrote:
Hello Dima,
Look at
  "q":"{!parent which=\"*:*  is_child:false\"}(
it means SHOULD matchAll, SHOULD is_child:false

Oh, cool: The Fine Manual has `q={!parent which="*:* -_nest_path:*}`, in which case "*:*" is actually required and minus is not ignored.

Whereas with my explicit `is_child` field, `q={!parent which="*:* +is_child:false}` treats the plus as SHOULD, as you say, and not as MUST that I naively expected.

Removing "*:*" fixes it, thank you.

(Note that output formatter strikes again: this is wrong:

       "q":"{!parent which=\"*:*  is_child:false\"}(
odams.identifier:W0178F2)",

and this is "only" half-wrong:

   "debug":{
     "rawquerystring":"{!parent which=\"*:*  is_child:false\"}(
odams.identifier:W0178F2)",
     "querystring":"{!parent which=\"*:*  is_child:false\"}(
odams.identifier:W0178F2)",
     "parsedquery":"AllParentsAware(ToParentBlockJoinQuery
(+odams.identifier:W0178F2))",
     "parsedquery_toString":"ToParentBlockJoinQuery
(+odams.identifier:W0178F2)",
)

I'm noticing an unclosed double quote in the query above, it may freakn out
the query parser which isn't bulletproof, you know.

That's a copy-paste-edit problem: I'm running queries on the sandboxed work computer & posting to the ML from my "home" gmail acct involves jumping through hoops.

Thank you,
Dima

Reply via email to