[opencms-dev] excluding from search

Roman Uhlig Maxity.de roman.uhlig at maxity.de
Tue Dec 15 18:54:13 CET 2009


 
This is because OpenCms doesn't know that .flv is binary unless you tell him so in opencms-vfs.xml ;)

@Achim: Wow, never noticed this property. That's pretty cool and useful, is it new in 7.5.x?

Roman

-----Ursprüngliche Nachricht-----
Von: Christoph P. Kukulies [mailto:kuku at physik.rwth-aachen.de] 
Gesendet: Dienstag, 15. Dezember 2009 18:41
An: Roman Uhlig Maxity.de
Cc: The OpenCms mailing list
Betreff: Re: [opencms-dev] excluding from search

On Tue, Dec 15, 2009 at 06:12:49PM +0100, Roman Uhlig  Maxity.de wrote:
>  
> You may exclude binary files in general (defined in search index configuration) or particular file types (defined in opencms-search.xml).

What search index configuration do you mean? In the

Adminstrative View > Search Management > ?

I don't see any exclusion facility there.

Do you mean this section?:
  <documenttypes-indexed>
    <name>xmlpage</name>
    <name>xmlcontent</name>
    <name>text</name>
    <name>pdf</name>
    <name>rtf</name>
    <name>html</name>
    <name>msword</name>
    <name>msexcel</name>
    <name>mspowerpoint</name>
    <name>image</name>
    <name>generic</name>
  </documenttypes-indexed>

It only lists the ones being indexed. But the opencms-log when the index
is built still says "indexing /videos/myfilm.flv"

> 
> It doesn't seem possible to exclude certain paths from being searched,
> though, but how can I prevent e.g. video files or other binary files
> like .flv-files from being searched by the search engine?
> 
> 
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list