Hi,
One other small question, how can I exclude images from search results? Is this a configuration of Collab, or is a a customisation through livelink, etc.
Thanks in advance for any help provided,
Cheers,
Eddy,
Please confirm are you using Collab 8.0.2 and OTCS .1.1?
That is correct,
Thanks Chris,
Hi Eddy, You are correct this would require a customization. You'll need to code some logic in the display template not to display the hit if it's an image type of document and go by the mimetype. The mimetypes.xml file is located in the Collaboration root install directory contains the information that links file extension to document type. It will also allow/disallow indexing on a per-document type basis. To toggle indexing for a particular mime type: 1) Locate the mimetype block for the particular document type. If the mimetype block doesn't exist for your document type, you'll need to create it. For example: <mimetype> <type name="application"/> <subtype name="oda"/> <description>ODA document</description> <file_extension>.oda</file_extension> <indexable_content>true</indexable_content> </mimetype> 2) Set the "<indexable_content>" value to "true" to enable indexing for the mime type. Set it to "false" to disable indexing for the mime type. 3) Save the changes and restart the Collaboration Server. NOTE: Documents added before the change to the mimetypes.xml file will not be reindexed automatically. A document will be reindexed if it is replaced or if its document title is changed (to force a reindex of the document). Performing a reindex of the entire system will also solve this problem.
Article Number: 17535369 Collab - How to Toggle Content Indexing by Mime Type
https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=17535369&objAction=ArticleView&viewType=1
Thanks again Chris,
Very helpful, cheers,
Hi again,
Have been testing this and it seems that images are still being indexed, and returned in search results.
By default the mimetypes file has all image types, jpg, tif, gif, etc, with indexable_content set as false. I would assume this should mean that with the initial index of files images would not be included, however if I search for 'jpg' or 'gif' these are still returned in the search results.
If they aren't indexed then they shouldn't be searchable, correct me if I'm wrong or if there is something else that needs to be configured for this to work?