Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Searching for Attachments
Avatar
Michael Rosenberg
Rookie
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2013 - 3:47 pm

This is an ongoing discussion I've been having with Simple:Press support but was advised to move it to the forums for further input from the rest of the team.

Basically what we are trying to do is to have a way for relevant posts with the correlating attachments to show up in the search results even if the poster fails to add the specific name of the attachment somewhere in the post title, description, or body. 

Ideally, we would be able to go to the forum and click on the search box as you would normally. If I typed in the name of an attachment I know is somewhere in the forum, the related post (in which this attachment appears) would appear in the search results. 

I was told that the only thing Simple:Press keeps track of is the name of the attachment via the URL path, so would it be possible for the name to be accessible via search?

So for example, if I was searching for an article called "10 Hottest IT Trends in Business" or something similar, the post with that attachment would show up even if the string "10 Hottest IT Trends in Business" is not included in the post title, description, or body content. 

Thanks in advance!

Michael

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 1, 2013 - 4:03 pm

According to my tests using the attachment name in s search will find the topic that attachment was used in... Is that what you mean?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Rosenberg
Rookie
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2013 - 4:17 pm

Yes that is exactly what I mean, but when I do that search it finds no results.

 

Are you using the exact file name (i.e. "Creating-A-Strategic-IT-Architecture-Competency.pdf") or an approximation (i.e. Creating a Strategic IT architecture competency)? 

Neither of these strings return the associated post.

 

Thank you!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 1, 2013 - 4:58 pm

ah yes - of course - a file, like a PDF. has no presence in the post (unlike an image or video) unless it is used in an actual link (to enable download for example) so it's actual name will never become a part of the post text.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2013 - 5:54 pm

correct. the only option here would be to explicitly force the searching to look at the attachment column in the sfposts table.  not a simplistic change but possible. And the searched name would need to be a match for the title of the file (ie including dashes, etc)...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625