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

Alessandro Benedetti commented on SOLR-9979:
--------------------------------------------

Hi [~tomasflobbe],
what happens now in this scenario :

1) Manual Distributed Search with not uniform data model across shards.

q=${pop_query}
&pop_query=${pop_field}:[ ${low} TO ${high} ] AND inStock:true
&low=50
&high=100

Each shard has a different popularity field, each shard defines this field as a 
parameter substitution :
Shard1 Request Handler
<str name="pop_field">popularity</str>

Shard 2 Request Handler
<str name="pop_field">clicks</str>

2) SolrCloud inter collection search
Same scenario, but each collection may define  a different mapping.

Thanks,

Regards

> Macro expansion should not be done in shard requests
> ----------------------------------------------------
>
>                 Key: SOLR-9979
>                 URL: https://issues.apache.org/jira/browse/SOLR-9979
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Tomás Fernández Löbbe
>            Assignee: Tomás Fernández Löbbe
>             Fix For: 6.5
>
>         Attachments: SOLR-9979.patch
>
>
> Macro expansion is done when parsing the query for the first time, it should 
> not be re-done in shard requests.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to