Search Summary - Output is heavily truncated when used with the "Search Attachments" module
| Project: | Porter-Stemmer |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Hi,
When the "Porter-Stemmer" module is used with the "Search Attachements" module - http://drupal.org/project/search_attachments the page summary dislayed in the search results tab is heavily truncated and barely readable.
I'm not completely certain how Porter-Stemmer breaks down content but it appears that the summary is showing what Porter Stemmer sees rather than the actual content of the file.
Example:
procedur for issu password for staff who ha left the trust perman or on long term sick ... procedur perman staff still here if a manag ask for a password to see a member of their staff mailbox who is on long term sick leav ... secur manag the line manag of that person can request the password but the request ha to come via email their data and email etc becom ...
Site details:
Drupal 5.5 & 5.7
Windows Server 2003
PHP 5.2.3
Apache 2.2.6
MySQL 5.0.45 (MySQLi)
Many thanks.

#1
I'm using version 5.x-1.x-dev of Porter-Stemmer and my development version of Search Attachments and can't replicate the problem. Maybe it's fixed in this combination of versions?
#2
Maybe (and hopefully) :)
I'll happily test your development version to see if it fixes the issue (hint hint); in the meantime I'm going to try to do some more thorough testing this afternoon to see if I can more accurately capture the circumstances in which this starts to happen.
#3
I guess this is fixed? If not please re-open.
#4
AFAICT this problem was isolated to the combination of the two specific versions of Porter-Stemmer and Search Attachments. Unless anyone can replicate it with more current versions of these modules I'm considering it closed.
#5
I can replicatate it with the latest versions of both modules, however I don't think it's a bug with these modules as I originally thought. The only time I can repeat the issue is if I perform an index with Swish-E first, then remove it and install Search_Attachments.
It seems to be a problem with Swish-E not removing its entries from the index rather than an issue with Porter Stemmer or Search_Attachments.
I think I posted steps to resolve the issue onto the Search_Attachments site a couple of months ago.
#6
Right, here's the URL: http://interoperating.info/mark/node/74#comment-4712
Thanks for the clarification.