Paging interferes with the built-in Drupal search indexer

bdeclerc - April 5, 2007 - 13:38
Project:Paging
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The search indexer only indexes text before the first page break.

#1

Darren Oh - April 23, 2007 - 19:08
Status:active» needs review

Try this patch.

AttachmentSize
paging-search.patch 1.21 KB

#2

Darren Oh - April 23, 2007 - 19:28

The last patch didn't work.

AttachmentSize
paging-search_0.patch 3.29 KB

#3

Darren Oh - April 25, 2007 - 07:18
Status:needs review» reviewed & tested by the community

I have thoroughly tested this version of the patch. It does two things:

  • Adds all pages to node search.
  • Updates the search index (when update.php is run).

#4

Darren Oh - April 25, 2007 - 07:19

Forgot to attach patch to last message.

AttachmentSize
paging-search_1.patch 4.61 KB

#5

Darren Oh - April 25, 2007 - 20:18

The pager was showing up in search results. This patch prevents that.

AttachmentSize
paging-search_2.patch 6.06 KB

#6

Darren Oh - April 26, 2007 - 18:28
Status:reviewed & tested by the community» fixed

Fixed in CVS commit 65456.

#7

killes@www.drop.org - May 11, 2007 - 12:26
Status:fixed» closed

#8

dicreat - February 23, 2009 - 11:08
Status:closed» active

I'm still having this problem on my site (drupal 5) - the search indexer only indexes text before the first page break. I'm using the latest Paging module v.5.x-1.2. Please help.

#9

bonobo - June 27, 2009 - 08:24

I need to test this a bit more thoroughly, but it appears that this is still an issue in the 6.x-beta3 version --

I took a string from the third page in a node split up using pagebreaks, and searched specifically for that string -- the search results pointed to the top level node, but not the specific page (ie, the search results pointed to node/40 as opposed to node/40?page=0,2 )

 
 

Drupal is a registered trademark of Dries Buytaert.