[
https://issues.apache.org/jira/browse/SOLR-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776400#comment-13776400
]
Vadim Kirilchuk commented on SOLR-3076:
---------------------------------------
Hi Anton,
It's better to ask such questions in mail-lists, but anyway let me answer:
1) First of all you don't need to explicitly specify _root_ field. It's done
internally by solr.
2) {code}?q={!parent which=is_parent:true}*:*{code} gives you an exception
because child query must never match parent docs!
But {code}*:*{code} breaks the constraint because it matches both child and
parent docs. You can try:
{code}?q={!parent which=is_parent:true}is_parent:false{code}
I hope it helps.
> 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
> Fix For: 4.5, 5.0
>
> 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-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]