;Karsten
>
> View this message in context:
> http://lucene.472066.n3.nabble.com/DataImport-using-last-indexed-id-or-getting-max-id-quickly-tp3993763p3994560.html
>
>
> Original-Nachricht
>> Datum: Wed, 11 Jul 2012 20:59:10 -0700 (PDT)
>> Von: ave
using-last-indexed-id-or-getting-max-id-quickly-tp3993763p3994560.html
Original-Nachricht
> Datum: Wed, 11 Jul 2012 20:59:10 -0700 (PDT)
> Von: avenka
> An: solr-user@lucene.apache.org
> Betreff: Re: DataImport using last_indexed_id or getting max(id) quickly
> Thanks. Ca
Thanks. Can you explain more the first TermsComponent option to obtain
max(id)? Do I have to modify schema.xml to add a new field? How exactly do I
query for the lowest value of "1 - id"?
--
View this message in context:
http://lucene.472066.n3.nabble.com/DataImport-using-last-indexed-id-
012 10:25:55 -0700 (PDT)
> Von: avenka
> An: solr-user@lucene.apache.org
> Betreff: DataImport using last_indexed_id or getting max(id) quickly
> My understanding is that the DIH in solr only enters last_indexed_time in
> dataimport.properties, but not say last_indexed_id for a primar
My understanding is that the DIH in solr only enters last_indexed_time in
dataimport.properties, but not say last_indexed_id for a primary key 'id'.
How can I efficiently get the max(id) (note that 'id' is an auto-increment
field in the database) ? Maintaining max(id) outside of solr is brittle and