Thanks! You saved me lots of time.

On 3/25/08, Jens Kraemer <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> On Mon, Mar 24, 2008 at 11:29:14PM -0600, R. Bryan Hughes wrote:
> > Hello all,
> > Is it possible to use parallel indexing and still ensure unique
> documents in
> > the merged index? Using the canned example, I'm ending up with
> non-unique
> > entries. It's just adding them all together even though I've defined
> unique
> > a :key.
> >
> > How can I tell the IndexWriter to keep my uniqueness constraints?
>
> You can't. The :key option is only interpreted by Ferret's Index class,
> which will delete any already existing records with the same key field
> value before adding a new record.
>
> Cheers,
> Jens
>
>
> --
> Jens Krämer
> http://www.jkraemer.net/ - Blog
> http://www.omdb.org/     - The new free film database
> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk
>
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to