On Wed, Dec 23, 2015 at 11:50 AM, Rick Leir <richard.l...@canadiana.ca> wrote:
> I would like to put conditions on the parent document, so I tried this,
> adding ' AND lang:eng':
>
> $ curl http://localhost:8983/solr/dorsetdata/query -d '
> q={!parent which="content_type:parentDocument AND lang:eng" score=total}
> type:page AND charlie

"which" and "of" should always identify the complete set of parent
documents, not any desired subset.

If you want conditions/filters on the parent document, that's easy...
your query is already mapping to parents, so simply add another "fq"
param.

q={!parent...}   // this puts us in the "parent" domain
fq=lang:eng
fq=another_filter_on_parent_documents

-Yonik

Reply via email to