facet domain change with blockChildren not working as expected

2023-05-04 Thread Igor Blanco
I have a document with nested documents indexed as this: {     'id':1,     'creation_date':'2023-02-09T07:18:59Z',     'update_date':'2023-05-03T14:37:08Z',     'dictionary':{     'id':'DIC1',     'lang_ids':[     2,     3     ]     },     'contexts':[     ],     'def

Re: facet domain change with blockChildren not working as expected

2023-05-04 Thread Igor Blanco
y matches all parent documents in the collection. Presumably it should be "blockChildren":"id:[0 TO 9]" Beforehand, check that this query matches only parent documents. On Thu, May 4, 2023 at 10:14 AM Igor Blanco wrote: I have a document with nested document

Re: facet domain change with blockChildren not working as expected

2023-05-04 Thread Igor Blanco
d definitely add blockChain to Solr to modernize it. Thanks for the clue! On Thu, May 4, 2023 at 5:58 PM Igor Blanco wrote: Hi Mikhail, Thanks for your response. It worked and I think that it put me on the right path but I'm still a bit confused I thought that blockChain allowed me to chang

Syntax errors with block join query parser when using parenthesis for grouping subqueries or fields

2023-05-05 Thread Igor Blanco
I'm using SOLR 9.2.1 I have a parent document with a couple of subdocuments, something like this: { id: "1", contexts: [     {    id: "CTX1",    context: "hola"    },{    id: "CTX2",    context: "adios"   } ] } When I try to

Re: Syntax errors with block join query parser when using parenthesis for grouping subqueries or fields

2023-05-05 Thread Igor Blanco
ing most times is to extracting subqueries into separate parameters: q=+{!parent which="*:* -_nest_path_:*" v=$sub0} +{!parent which="*:* -_nest_path_:*" v=$sub1}&sub0=context:(+hol? +h?la)&sub1=context:(adios) On Fri, May 5, 2023 at 12:05 PM Igor Blanco wrote: I'm using