On Jun 20, 2013, at 18:26 , Abhishek Bansal <abhishek.bansa...@gmail.com> wrote:
> Yeah I know, out of the box there is one id field. I removed it from
> schema.xml
> 
> I have also added below code to automatically generate an ID.
> 
> <field name="id" type="uuid" indexed="true" stored="true" default="NEW"
> multiValued="false"/>
>   <field name="name" type="text_general" indexed="true" stored="true"/>
>   <field name="text" type="text_general" indexed="true" stored="true"/>

Is that a valid configuration for an id field (assuming that the field "id" is 
also defined as "uniqueKey")?∆

Reply via email to