daveb
committed
on 27 Sep 02
rewrote query to always return the correct item_id even if a search
is run in between index runs and the live_revision has changed