Indexing a document in Solr without field "id" -


i have index file doesn't have field named key. know there concept of unique key in solr. can 1 me in same. have followed following steps:-

  1. changing unique key other field (say name)
  2. changing required="true" required="false" field id

still not able index file doesn't have id.

in schema.xml can specify key unique amongst documents. ref

also, may want read through this reference, describes various use cases around unique key.


Comments

Popular posts from this blog

Issues changing the value of an element in an array in matlab -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

vb.net - Alternative to the T-SQL AS keyword -