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: Preserve order during indexing
Date Wed, 24 Jan 2018 21:10:15 GMT
Alessandro,
Right. Solr's docnums are changed when segments merge and reordered.

On Wed, Jan 24, 2018 at 4:15 PM, alessandro.benedetti <a.benedetti@sease.io>
wrote:

> Hi Mikhail,
> but if he keeps the docs within a segment, the ordering may be correct just
> temporary right ?
> As soon as a segment merge happens ( for example after sequent indexing
> sessions or updates) the internal Lucene doc Id may change and the default
> order Solr side may change, right ?
> I am just asking as I never investigated what happens to Lucene internal
> Ids
> at merging time.
>
> Following the other comments I think a more robust approach would be to
> explicitly describe a sorting order and manage it through Solr sorting
> directly.
>
>
>
> -----
> ---------------
> Alessandro Benedetti
> Search Consultant, R&D Software Engineer, Director
> Sease Ltd. - www.sease.io
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>



-- 
Sincerely yours
Mikhail Khludnev

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