We already have a unique key (We use md5 value).
We need another id (sequential numbers).

On Fri, Apr 6, 2012 at 9:47 AM, Chris Hostetter <hossman_luc...@fucit.org>wrote:

>
> : We need to have a document id available for every document (Per core).
>
> : We can pass docid as one of the parameter for fq, and it will return the
> : docid in the search result.
>
>
> So it sounds like you need a *unique* id, but nothing you described
> requies that it be a counter.
>
> Take a look at the UUIDField, or consider using the
> SignatureUpdateProcessor to generate a key based on a hash of all the
> field values.
>
> -Hoss
>

Reply via email to