I need to query the blog post type but have content of the associated attachments affect relevancy. So really I need to subquery the associated attachments to each blog-post. I guess this is a JOIN. I need to query attachments by themselves AS WELL AS blog posts with associated attachments affecting relevancy. My best idea right now is to ingest twice: once under the blog post and one in the attachment document.
I solve this while indexing, with my reference plugin.
Scenario: when indexing a blog-post doc, which is referencing an attachment doc by ID, the plugin can lookup the attachment doc for extracting fields from that doc to get them indexed also into the blog-post doc.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.