Alessandro,
Right. Solr's docnums are changed when segments merge and reordered.
On Wed, Jan 24, 2018 at 4:15 PM, alessandro.benedetti
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
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
Aashish, I believe you want to keep blocks in a segment boundaries.
On Fri, Jan 19, 2018 at 6:52 AM, Aashish Agarwal
wrote:
> Hi,
>
> I need to index documents in solr so that they are stored in same order as
> present in database. i.e *:* gives result in db order. Is it possible.
>
> Thanks,
>
db order isn't generally defined, unless you are using an explicit "order
by" on your select. Default behavior would vary by database type and even
release of the database. You can index the fields that you would "order by"
in the db, and sort on those fields in solr
On Thu, Jan 18, 2018 at 10:17
Hi Ashish,
I think it's not possible,solr creates inverted index.. but you can get
documents by sorting orders, give sort= asc/desc.
Thanks,
JagdishVasani
On 19-Jan-2018 9:22 am, "Aashish Agarwal" wrote:
> Hi,
>
> I need to index documents in solr so that they are stored in same order as
> pres
Hi,
I need to index documents in solr so that they are stored in same order as
present in database. i.e *:* gives result in db order. Is it possible.
Thanks,
Aashish