Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Bug: search continually adds (new) records to index instead of updating existing ones

#612

Since the search model creates a new search object and does NOT pass an 'id' nor 'sef_url' param, it always creates a new search object.

We must subclass the addContentToSearch method into the search model to look for the original_id, ref_module, & location_data so we pull up existing search index records instead of always creating new ones

Reported by dleffler · May 22nd, 2012 @ 12:13 PM

State: resolved
Milestone: 2.0.7
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja
    • State changed from new to resolved
    • Milestone changed from 2.0.8 to 2.0.7
    • Milestone order changed from 6 to 0

    (from [663d19167712d3d971335f27a7f9a2da3b416738]) Should fix issue of continually adding items to search index instead of updating existing ones [#612 Bug: search continually adds (new) records to index instead of updating exist... state:resolved milestone:2.0.7] https://github.com/exponentcms/exponent-cms/commit/663d19167712d3d9...

    May 22nd, 2012 @ 01:24 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.