first, you're missing a $ Sign for the first Variable. second, why not just <field column="ID" .. /> ? The <field>-Tag has no ID, in case you're using the TemplateTransformer.
I got my solution..thanks for it. but after looking your this reply..please make it clear: UID_PK is a column in my database table torderattribute, then I it is mandatory to map it in schema.xml,that is why i use <field column="UID_PK" name= ID ../> then how can i just use <field column="ID" .. /> ----- Romi -- View this message in context: http://lucene.472066.n3.nabble.com/UniqueKey-field-in-schema-xml-tp2987807p2988635.html Sent from the Solr - User mailing list archive at Nabble.com.