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:-
- changing unique key other field (say name)
- 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
Post a Comment