Searching Files and Images

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/22/2011 9:25:07 AM
Gravatar
Total Posts 9

Searching Files and Images

I am noticing that the site search feature is fairly limited to HTML content. Is there any way to be able to search files and image gallery? The simple image gallery seems to reside in server-side files and not the DB, so I'm not even sure if this is possible.

Thanks for any info.

4/22/2011 9:32:29 AM
Gravatar
Total Posts 18439

Re: Searching Files and Images

It does search on the caption and description of images in the Image Gallery (not all of the gallery features but the one that does support captions and descriptions). The Shared Files feature also searches on file names and descriptions. Typically the description is not displayed in the Shared Files feature but it can be used to make it easier to find files, for example though it cannot directly index the content of the files such as Word docs or pdf files, you can paste the full content as plain text into the hidden description and then the file will be found in search based on the content in the description. It does not search the file system.

Hope it helps,

Joe

4/22/2011 10:08:35 AM
Gravatar
Total Posts 9

Re: Searching Files and Images

Yes, I was attempting to get the "Simple Folder Version" to search. Don't think that it's really possible for this.

Also, I understand that you can search the file names under "Shared Files" but there are a couple issues I see with that. #1 you cannot search the folders that you create (IE - Search "Folder1" no results). #2 you have to either change the filename manually removing the file extension or search for the full name with extension. IE - Searching for Example.pdf finds the correct file, but searching for Example does not. Though if you change the filename manually removing the .pdf extension or add it in the description it will then search.

This is not ideal when you are uploading many files and then have to manually add a description to each.

Thanks again for any suggestions and the quick reply.

4/22/2011 10:41:33 AM
Gravatar
Total Posts 9

Re: Searching Files and Images

Also, if you search some module Titles that are configured other than HTML Content it will not find results. IE - if you name an image gallery "Product Images" it will show up on the left menu, but a search for its title produces null results. This is not the end of the world since it is fairly accessible from the treemenu, but if you have multiple nested menus it would be nice to search the headings.

4/25/2011 9:08:41 AM
Gravatar
Total Posts 18439

Re: Searching Files and Images

Indexing is implemented at the feature level and each feature that supports search implements its own indexing. The indexing happens when content changes inside a feature instance not when it is newly added to a page, ie if you add an empty Image Gallery to a page it does not have content yet and nothing is indexed. Once you add content ie images it will index and it will also index the module title (it is not instantaneous it may take several minutes after editing before the content appears in search).

But the down side is that if you search on the module title each image in the gallery will be a search result since they all have the same title associated with the module and each image is represented as a separate indexed document in the search index.

See also Site Search Overview

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.