lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sling <sling...@gmail.com>
Subject SolrCloud FunctionQuery inconsistency
Date Mon, 02 Dec 2013 08:33:04 GMT
Hi,
I have a solrcloud with 4 shards. They are running normally.
How is possible that the same function query returns different results? 
And it happens even in the same shard?

However, when sort by "ptime desc", the result is consistent.
The dateDeboost generate the time-weight from ptime, which is multiplied by
the score.

The result is as follows:
{
  "responseHeader":{
    "status":0,
    "QTime":7,
    "params":{
      "fl":"id",
      "shards":"shard3",
      "cache":"false",
      "indent":"true",
      "start":"0",
      "q":"{!boost b=dateDeboost(ptime)}channelid:0082 && (title:\"abc\" ||
dkeys:\"abc\")",
      "wt":"json",
      "rows":"5"}},
  "response":{"numFound":121,"start":0,"maxScore":0.5319116,"docs":[
      {
        "id":"9EORHN5I00824IHR"},
      {
        "id":"9EOPQGOI00824IMP"},
      {
        "id":"9EMATM6900824IHR"},
      {
        "id":"9EJLBOEN00824IHR"},
      {
        "id":"9E6V45IM00824IHR"}]
  }}



{
  "responseHeader":{
    "status":0,
    "QTime":6,
    "params":{
      "fl":"id",
      "shards":"shard3",
      "cache":"false",
      "indent":"true",
      "start":"0",
      "q":"{!boost b=dateDeboost(ptime)}channelid:0082 && (title:\"abc\" ||
dkeys:\"abc\")",
      "wt":"json",
      "rows":"5"}},
  "response":{"numFound":121,"start":0,"maxScore":0.5319117,"docs":[
      {
        "id":"9EOPQGOI00824IMP"},
      {
        "id":"9EORHN5I00824IHR"},
      {
        "id":"9EMATM6900824IHR"},
      {
        "id":"9EJLBOEN00824IHR"},
      {
        "id":"9E1LP3S300824IHR"}]
  }}





--
View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-FunctionQuery-inconsistency-tp4104346.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message