[
https://issues.apache.org/jira/browse/SOLR-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713653#comment-13713653
]
Yonik Seeley commented on SOLR-3076:
------------------------------------
bq. Pls confirm my understanding, if <uniqKey> is specified, for every block
children obtain value for _root_ field, from parent's <uniqKey> field. Hence
_root_ field is always used for IW.updateDocs call.
Right, \_root\_ would always be used when dealing with a block of documents
(and always be set to the parent ID). The only thing not covered by this is a
transition from block to non-block or vice versa (i.e. adding a block document
and then overwriting it with a non-block one). I'm punting on that for now.
Also for deletes... unless we somehow keep track or can look it up, we'll need
syntax to say that we're deleting a block.
block_id is a good descriptive name, but I've been going toward surrounding
special/internal/solr-added fields with underscores. Like \_version\_ and
\_shard\_ (which may change to \_route\_) and \_docid\_. Using that scheme,
\_block_id\_ is a little less appealing. Perhaps \_block\_ though.
On the query side, this field can be used to get from a child of any depth to
the root document, and from that perspective \_root\_ makes more sense. On the
update side, \_block\_ makes a little more sense because all you care about is
deleting the block as a whole with it. Hmmm...
> Solr(Cloud) should support block joins
> --------------------------------------
>
> Key: SOLR-3076
> URL: https://issues.apache.org/jira/browse/SOLR-3076
> Project: Solr
> Issue Type: New Feature
> Reporter: Grant Ingersoll
> Assignee: Yonik Seeley
> Fix For: 5.0, 4.4
>
> Attachments: 27M-singlesegment-histogram.png, 27M-singlesegment.png,
> bjq-vs-filters-backward-disi.patch, bjq-vs-filters-illegal-state.patch,
> child-bjqparser.patch, dih-3076.patch, dih-config.xml,
> parent-bjq-qparser.patch, parent-bjq-qparser.patch, Screen Shot 2012-07-17 at
> 1.12.11 AM.png, SOLR-3076-childDocs.patch, SOLR-3076.patch, SOLR-3076.patch,
> SOLR-3076.patch, SOLR-3076.patch, SOLR-3076.patch, SOLR-3076.patch,
> SOLR-3076.patch, SOLR-3076.patch, SOLR-3076.patch, SOLR-3076.patch,
> SOLR-7036-childDocs-solr-fork-trunk-patched,
> solrconf-bjq-erschema-snippet.xml, solrconfig.xml.patch,
> tochild-bjq-filtered-search-fix.patch
>
>
> Lucene has the ability to do block joins, we should add it to Solr.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]