lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: SolrCloud wildcard query result order change
Date Tue, 25 Jul 2017 13:09:26 GMT
Since all scores are equal it just can not break this tie. Add id as a sort
clause to make results deterministic.

On Tue, Jul 25, 2017 at 3:39 PM, Bernd Fehling <
bernd.fehling@uni-bielefeld.de> wrote:

> Any wildcard query will do it, e.g. .../select?q=ant*&wt=json&...
>
> A couple of "shift + reload" (to bypass cache) in the browser and you
> will see that the order of the result changes sometimes.
>
> Definately no updates/ingestion because it's currently a
> SolrCloud test system with only 12 mio. docs.
>
> Regards
> Bernd
>
>
> Am 25.07.2017 um 14:20 schrieb Susheel Kumar:
> > What is the query you are executing if you can share. Due you think
> > difference could be due to updates/ingestion happening same time?
> >
> > Thanks,
> > Susheel
> >
> > On Tue, Jul 25, 2017 at 7:47 AM, Bernd Fehling <
> > bernd.fehling@uni-bielefeld.de> wrote:
> >
> >> With SolrCloud 6.4.2 (5 shards on 5 server) and a wildcard query
> >> I get different results between the same query.
> >>
> >> I assume this is alltogether due to the distributed search and
> >> the response time of each server and the constant score of 1.0 ???
> >>
> >> Is there any config where I can set the shard order (shard_1...shard_n)
> >> as result order for results with same score?
> >>
> >> Or for results of wildcard query?
> >>
> >> Any ideas?
> >>
> >> Regards
> >> Bernd
> >>
> >
>
>


-- 
Sincerely yours
Mikhail Khludnev

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message