On Feb 7, 2008 2:27 PM, vijay_schi <[EMAIL PROTECTED]> wrote:
> I'm new to solr. I have a uniqueKey on string which has the data of
> 12345_r,12346_r etc etc.
> when I'm posting xml with same data second time, it allows the docs to be
> added. when i search for id:12345_r on solr client , i'm getting multiple
> records. what might be the problem ?
>
> previously I'm using in integer, it was working fine. As I changed to
> string, its allwing duplicates.
>
> can anyone Clear/Help on this?

Double check that your uniqueKey correctly specifies the name of the
field that contains 12345_r,
and that you restarted Solr after the schema change.

The example schema that comes with Solr uses a string uniqueKey, and
it works fine.

-Yonik

Reply via email to