Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #185 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

EasySearch - Moving pages does not update the easysearch_pagepath

Reported by: oyvind@… Owned by: andyturl@…
Priority: major Component: EasySearch
Keywords: Cc: mari@…

Description

When using EasySearch for doing FindPagesWithCriteria, the search relies on the Lucene Document property easysearch_pagepath. This property is not updated when moving pages in the EPiServer page structure. This means the FindPagesWithCriteria will not get the correct result.

See the attached images, one image before the reindex of the page and one image after the reindex.

Attachments

BeforeReindex.png (21.2 KB) - added by oyvind@… 8 years ago.
Before Reindex of page
AfterReindex.png (25.4 KB) - added by oyvind@… 8 years ago.
After Reindex of page

Change History

Changed 8 years ago by oyvind@…

Before Reindex of page

Changed 8 years ago by oyvind@…

After Reindex of page

comment:1 Changed 8 years ago by andyturl@…

  • Status changed from new to accepted

Yes looks like the PageMoving and PageMoved events don't consider that the page now needs reindexing as the page path would be different. I will put a fix in for this, thanks for the report.

comment:2 Changed 8 years ago by andyturl@…

  • Status changed from accepted to closed
  • Resolution set to fixed

The PageMoved event now always reindexes pages as long as they aren't already in the bin.

Note: See HelpUser/Tickets for help on using tickets.