当查询和数据相同时,在不同的机器上获得不同的结果

时间:2019-05-13 05:02:16

标签: solr

在三台不同的计算机上,安装了Solr-6.2.1。我手动将Solr目录中存在的数据文件夹从一台计算机复制到另一台计算机。当我在所有获得不同结果的计算机上运行以下查询时。

查询是:

localhost:8983/solr/mycollection/select?facet.field=price&facet.field=features&facet.field=manu_exact&facet.field=category&facet.field=item_type&cache=true&indent=on&fl=*,score&fq=&fq=isSearchablePlu:Y&rows=20&version=2.2&facet.query={!ex%3Decount}usb+flash+drive+128GB+name:usb+flash+drive+128GB&facet.query={!ex%3Decount}-div9:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div6:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div12:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div21:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div3:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div24:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div14:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div26:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div44:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div8:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div11:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div5:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div28:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div10:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div7:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div27:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div25:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div15:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div16:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div20:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div17:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div30:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div19:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div37:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div33:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div18:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div22:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div29:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div23:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div34:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div31:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div43:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div32:0+AND+-storepickup:N&facet.query={!ex%3Decount}-div38:0+AND+-storepickup:N&facet.query={!ex%3Dpricefilter}price:[*+TO+10]&facet.query={!ex%3Dpricefilter}price:[10.01+TO+25]&facet.query={!ex%3Dpricefilter}price:[25.01+TO+50]&facet.query={!ex%3Dpricefilter}price:[50.01+TO+100]&facet.query={!ex%3Dpricefilter}price:[100.01+TO+200]&facet.query={!ex%3Dpricefilter}price:[200.01+TO+500]&facet.query={!ex%3Dpricefilter}price:[500.01+TO+1000]&facet.query={!ex%3Dpricefilter}price:[1000.01+TO+1500]&facet.query={!ex%3Dpricefilter}price:[1500.01+TO+2000]&facet.query={!ex%3Dpricefilter}price:[2000.01+TO+7000]&facet.query={!ex%3Dpricefilter}price:[7000.01+TO+100000]&facet.query={!ex%3Decount}ship_days:(1+9+21+55)&q=features_type:(usb+flash+drive+128gb)+OR+features_type:"usb+flash+drive+128gb"~100+OR+leaf_catpath:(usb+flash+drive+128gb)+OR+leaf_catpath:"usb+flash+drive+128gb"~10+OR+text_search:(usb+flash+drive+128gb)+OR+text_search:+"usb+flash+drive+128gb"~100&facet.limit=10000&defType=edismax&spellcheck.q=usb+flash+drive+128gb&qf=leaf_catpath^20+text_search^2+features_type^25&spellcheck=true&facet.threads=-1&facet.mincount=1&facet=true&wt=json&spellcheck.collate=true

在一台计算机上,发现的结果数为 936 ,第二台计算机上的计数为 1261 ,第三台计算机上的计数为 2544 >。

我很困惑,为什么会这样。如果所有计算机中的索引数据都相同,那么为什么每个计算机中的结果都不相同。

是由于缓存还是其他原因?

0 个答案:

没有答案