Thanks, Chirs:
The schema is:
<field name="title" type="textComplex" indexed="true" stored="false"
multiValued="false" omitNorms="true"  />
<field name="dkeys" type="textComplex" indexed="true" stored="false"
multiValued="false" omitNorms="true" />
<field name="ptime" type="date" indexed="true" stored="false"
multiValued="false" omitNorms="true" />

There is no default value for ptime. It is generated by users.

There are 4 shards in this solrcloud, and 2 nodes in each shard.

I was trying query with a function query({!boost b=dateDeboost(ptime)}
channelid:0082 && title:abc), which leads differents results from the same
shard(using the param: shards=shard3).

The diffenence is maxScore, which is not consistent. And the maxScore is
either score A or score B.
And at the same time, new docs are indexed.
In my opinion, the maxScore should be the same between querys in a very
short time. or at least, it shoud not always change between score A and
score B.

And quite by accident, the sort result is even inconsistent(say there is a
doc in this query, and not in another query, over and over ). It does appear
once, but not reappear again.


Does this mean , when query happens, the index in replica has not synced
from its leader? so if query from different nodes from the shard at the same
time, it shows different results.





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

Reply via email to