Changeset [65f25654c1a73c944d25f34e509f12234e4d3510] by Brian Michalski

September 17th, 2011 @ 02:49 AM

Add delayed indexing.

Manually re-index the document after it has a new revision. For a new document
this will result in a double-index, but with just 1 revision it shouldn't be
too big of a performance hit.

For older documents with lots of revisions this might be a larger performance hit,
but I don't know any way to just do a delta index. It's in the background anyways
so no real need to worry.
https://github.com/wtg/flagship_docs/commit/65f25654c1a73c944d25f34...

Committed by Brian Michalski

  • M app/models/revision.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

http://github.com/wtg/flagship_docs

Shared Ticket Bins