RE: Solr 8.8.2 childFilter multiple conditions

2021-05-21 Thread Hari Iyer
m> Sent: Tuesday, May 4, 2021 6:30 PM To: users@solr.apache.org<mailto:users@solr.apache.org> Subject: Solr 8.8.2 childFilter multiple conditions Hello, With Solr 8.8.2 I am unable to provide more than one filter in the fl "childFilter" param. For example, fq={!parent which='do

Re: Solr 8.8.2 childFilter multiple conditions

2021-05-07 Thread David Smiley
Subquery is a good idea here too. It's slower but it's also more powerful, more general. I'll try and get SOLR-15156 into 8.9 ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Thu, May 6, 2021 at 3:42 PM Jonathan Bridges wrote: > Thanks David for c

Re: Solr 8.8.2 childFilter multiple conditions

2021-05-06 Thread Jonathan Bridges
Thanks David for confirming this and the work around, really appreciate it. I also found a subquery could give correct results, though haven't tested performance comparison with childFilter. I had never used subquery before so it hadn't occurred to me. Will try them both out. fq={!parent which='d

Re: Solr 8.8.2 childFilter multiple conditions

2021-05-06 Thread David Smiley
Hi, It appears this was broken in 8.0 by https://issues.apache.org/jira/browse/SOLR-12768 And then fixed in 9.0 (not released) by SOLR-15156 I didn't back-port the fix because I thought users might be relying on the escaping behavior. I didn't realize such escaping didn't exist before SOLR-12768

Solr 8.8.2 childFilter multiple conditions

2021-05-04 Thread Jonathan Bridges
Hello, With Solr 8.8.2 I am unable to provide more than one filter in the fl "childFilter" param. For example, fq={!parent which='docType:parent_doc_type'} docType: child_doc_type AND color: Red AND size: Large This fq will filter all parent documents which have child documents that are 'Red' a