Hello,

I am not sure that you can have an autoincrement on the id in Solr without custom code (custom update processor for example), but you can easily make Solr generate UUID for document (https://wiki.apache.org/solr/UniqueKey)

Regards,

Aurélien

Le 21/08/2014 11:00, phi...@free.fr a écrit :
Hello,

how do you query the last document id in SOLR?

Is there a way to upload a document to SOLR via HTTP Post without specifying an 
id? I would like the id to be the latest + 1.

Many thanks.

Philippe


Reply via email to