You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Anant Bhargatiya <an...@gmail.com> on 2019/04/23 08:04:16 UTC

Different Parsed query for solr cloud and master slave with same solr version

Hello,

We are migrating from solr 5.5 master slave to solr 8.0 cloud deployment.
for exactly same index and config, we are getting different results.

we also compared solr cloud (solr 8.0) and master slave (solr 8.0) with
same indexed data.

in all of above scenario we observed that different edismax queries are
being generated for same search term.

In our setup IDF and TF is set to 1 by overriding similarity class.
[<statsCache class="org.apache.solr.search.stats.ExactStatsCache"/> also
did not make any difference in our observation]

our main concern is, why edismax is generating different queries in master
slave and cloud even if solr version is same.

is there any way to generate same edismax queries in these three different
scenario (solr 5.5 master slave, solr 8.0 master slave and solr 8.0 cloud).


More info:

in cloud, we are using sharding based on one field F1.
we are fetching grouped results based on field F1.
ungrouped queries are returning different results.



-- 
ANANT BHARGATIYA
Sr. Software Developer
Ph No.-> 08553660598

Re: Different Parsed query for solr cloud and master slave with same solr version

Posted by Shawn Heisey <ap...@elyograg.org>.
On 4/23/2019 2:04 AM, Anant Bhargatiya wrote:
> We are migrating from solr 5.5 master slave to solr 8.0 cloud deployment.
> for exactly same index and config, we are getting different results.

We'll need to see the configs you are working with as well as the raw 
and parsed queries from both.

Every time Solr executes a query, that query's full list of parameters 
is logged in solr.log.  If you could provide those logs from both the 
cloud and the not cloud deployment,s we can make sure that what Solr is 
executing is actually identical between the two.

Thanks,
Shawn