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/03 07:30:00 UTC

[jira] [Commented] (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=16462048#comment-16462048 ] 

Mikhail Khludnev commented on SOLR-12303:
-----------------------------------------

bq. It might not seem like the right thing to you, but this is how Solr has been working for many years, and is expected behavior. You can configure Solr to do what you want without a lot of trouble.

[~elyograg], this is not about bare SolrCloud searches, this issue is about \[subquery]. And the proposal makes a lot of sense to me. Patches are welcome.  

> 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
>            Priority: Major
>
> {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