You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Romain Rigaux (JIRA)" <ji...@apache.org> on 2016/12/07 17:09:58 UTC

[jira] [Commented] (SOLR-7672) introduce implicit _parent_:true

    [ https://issues.apache.org/jira/browse/SOLR-7672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15729289#comment-15729289 ] 

Romain Rigaux commented on SOLR-7672:
-------------------------------------

e.g. if we take the book/review example of http://yonik.com/solr-nested-objects/

This would (field name, then hierarchy of values) let us query to introspect and build the "schema" easily:
{code}
_type_:"type_s:book"
_type_:"type_s:book.review"
{code}



> introduce implicit _parent_:true  
> ----------------------------------
>
>                 Key: SOLR-7672
>                 URL: https://issues.apache.org/jira/browse/SOLR-7672
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers, update
>    Affects Versions: 5.2
>            Reporter: Mikhail Khludnev
>            Assignee: Mikhail Khludnev
>             Fix For: 5.5, 6.0
>
>
> Solr provides block join support in non-invasive manner. It turns out, it gives a chance to shoot a leg. As it was advised by [~thetaphi] at SOLR-7606, let AddUpdateCommand add _parent_:true field to the document (not to children). Do it *always* no matter whether it has children or not.    
> Also, introduce default values for for block join qparsers \{!parent *which=\_parent\_:true*} \{!child *of=\_parent\_:true*} (sometimes, I rather want to hide them from the user, because they are misunderstood quite often).  
> Please share your concerns and vote.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org