Thank you Erik and Otis!
I tried the switch to string and it worked perfectly!
Int wasn't appropriate, because our UIDs are based on object-type +
object-id, and i'd rather not work on some method of creating
universal serials for everything.
On Jun 19, 2009, at 11:58 PM, Erik Hatcher wrote:
"text" is likely analyzing to multiple terms which is incorrect for
a uid type of field. set it to type="string" instead. and reindex
from scratch.
Erik
On Jun 19, 2009, at 8:49 PM, Jonathan Vanasco wrote:
as far as i understand from the docs, with a schema.xml like this...
<fields>
<field name="uid" type="text" indexed="true" stored="true"
required="true" />
</fields>
<uniqueKey>uid</uniqueKey>
any items with the same uid in it should replace existing ones on
the commit .
is this correct ? because it seems that i do not replace, but only
add new records
i've obviously gotten something wrong. any help would be
appreciated.