lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Returning parent's field which searching for child
Date Tue, 09 Aug 2016 09:59:20 GMT
Hi,

Would like to check, is it possible to return certain fields from parent's
record, when we are searching for fields that are only contained in child
records.

For example, for this query:
http://localhost:8983/solr/collection1/select?q=childField:123

The child field can only be found in child, so this search will not return
any parent's record. But if I want to return like says its parent's ID
together with the above query, is it possible to be done?

I'm using Solr 6.1.0.

Regards,
Edwin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message