Bug: search continually adds (new) records to index instead of updating existing ones
Reported by dleffler | May 22nd, 2012 @ 12:13 PM | in 2.0.7 (closed)
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
Comments and changes to this ticket
-
expNinja May 22nd, 2012 @ 01:24 PM
- 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 state:resolved milestone:2.0.7] https://github.com/exponentcms/exponent-cms/commit/663d19167712d3d9...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS