Index updates

The ferret documentation reports that using the option “key” can affect
performance of indexing operations. If the option “key” is used when
creating a ferret index, is there a performance hit when creating a new
document, or is the performance hit only for updated records?

Daniel R. wrote:

The ferret documentation reports that using the option “key” can affect
performance of indexing operations. If the option “key” is used when
creating a ferret index, is there a performance hit when creating a new
document, or is the performance hit only for updated records?

In case anyone else cared; when the :key option is used Ferret will
search the index for the document being added before creating a new
document. This check occurs on all documents (new and updated).

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs