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

Mikhail Khludnev edited comment on SOLR-10701 at 8/4/17 4:09 AM:
-----------------------------------------------------------------

[^SOLR-10701.patch] goes with test.
This provides usage for LUCENE-7835. 

Here is the question: {{ToChildBlockJoinSortField}} in LUCENE-7835 allows 
passing child docs where sort field values are supplied. However, I don't see 
an easy way to pass it with Solr syntax 
({{q=\{!child..}...&sort=parentfield(name) asc}}).

[~jove4015], does it seems useful as-is? 

The patch also introduces {{BlockJoinParentQParser.AllParentsQuerySupplier}} 
which is implemented by {{BlockJoinParentQParser.AllParentsAware}} 
{{BlockJoinChildQParser.AllParentsAwareToChildQuery}}. I wonder whether it's 
good enough to come in. 


was (Author: mkhludnev):
[^SOLR-10701.patch] goes with test.
This provides usage for LUCENE-7835. 

Here is the question: {{ToChildBlockJoinSortField}} in LUCENE-7835 allows 
passing child docs where sort field values are supplied. However, I don't see 
an easy way to pass it with Solr syntax 
({{q=\{!child..}...&sort=parentfield(name) asc}}). [~jove4015], does it seems 
useful as-is?      

> sort=parentfield(name,{!child}) asc
> -----------------------------------
>
>                 Key: SOLR-10701
>                 URL: https://issues.apache.org/jira/browse/SOLR-10701
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mikhail Khludnev
>         Attachments: SOLR-10701.patch, SOLR-10701.patch
>
>
> It's a twin-bro for SOLR-10521. When searching by {{\{!child}}} query we need 
> to order kids by a parent field. {{sort=parentfield(name,$q) asc}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to