You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2018/05/05 20:51:00 UTC

[jira] [Comment Edited] (SOLR-12303) Subquery Doc transform doesn't inherit path from original request

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

Mikhail Khludnev edited comment on SOLR-12303 at 5/5/18 8:50 PM:
-----------------------------------------------------------------

reworked [^SOLR-12303.patch]. 
* I definitely anxious regarding {{request.path}} I've never use it and can't really understand the purpose that's why I use {{qt}}. 
* it boils down to question about inheriting main query params in subquery. It makes sense for {{qt}}, but not for {{fl}} that's how it's done explicitly
* I used existing config. 
Also, I don't think tests like {{assertQEx(...    "subq1.qt", "/bleh",..)}} make sense at all, they should pass (request fails) now as is. 


was (Author: mkhludnev):
reworked [^SOLR-12303.xml]. 
* I definitely anxious regarding {{request.path}} I've never use it and can't really understand the purpose that's why I use {{qt}}. 
* it boils down to question about inheriting main query params in subquery. It makes sense for {{qt}}, but not for {{fl}} that's how it's done explicitly
* I used existing config. 

> Subquery Doc transform doesn't inherit path from original request
> -----------------------------------------------------------------
>
>                 Key: SOLR-12303
>                 URL: https://issues.apache.org/jira/browse/SOLR-12303
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Munendra S N
>            Assignee: Mikhail Khludnev
>            Priority: Major
>         Attachments: SOLR-12303.patch, SOLR-12303.patch, SOLR-12303.patch, SOLR-12303.patch
>
>
> {code:java}
> localhost:8983/solr/k_test/search?sort=score desc,uniqueId desc&q.op=AND&wt=json&q={!parent which=parent_field:true score=max}({!edismax v=$origQuery})&facet=false&fl=uniqueId&fl=score&fl=_children_:[subquery]&fl=uniqueId&origQuery=false&qf=parent_field&_children_.fl=uniqueId&_children_.fl=score&_children_.rows=3&spellcheck=false&_children_.q={!edismax qf=parentId v=$row.uniqueId}&rows=1
> {code}
> For this request, even though the path is */search*, the subquery request would be fired on handler */select*.
> Subquery request should inherit the parent request handler and there should be an option to override this behavior. (option to override is already available by specifying *qt*)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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