:  <uniqueKey>id</uniqueKey>
:  <defaultSearchField>document_title</defaultSearchField>
:  <copyField source="document_title" dest="id"/>

whoa... that's a pretty out there usecase ... i don't think i've ever seen
someone use their uniqueKey field as the target of a copyField.

off the top of my head, i suspect maybe the copy field is taking place
after the duplicate detection? ... but i'm not sure...

: When I add a document with a duplicate title (numeric only), it does not
: get duplicated

...and now i'm *really* not sure, that doens't make much sense to me at
all.

: I can ensure duplicates DO NOT get added when using the field type
: 'string'.

hmm... could you perhaps add the value directly to your "id" field
(string) and then copyField it into document_title ?  based one what
youv'e said, thta should work -- although i would agree, what you describe
when using your current schema definitely sounds like a bug.

it would be great if you could open a Jira issue describing this problem
... it would be even better if after posting the issue you could
make fixing it easier by attaching a test case. :)



-Hoss

Reply via email to