[opencms-dev] excluding from search

Achim Westermann achim.westermann at questico.de
Wed Dec 16 09:49:46 CET 2009


Hi Andrea,

that property prevents the content from being indexed.
It should also be possible to set search.exclude to false in subfolders / files of folders with search.exclude set to true.

kind regards and greetings to Cagliari,

Achim



Andrea Puddu wrote:
> Hi Achim,
> one more question about this interesting topic :-)
> 
> If I set search.exclude = true on a folder it won't be included in the 
> search 'scope' only or it affects the indexing as well.
> 
> In other words is it similar to exclude  from the index source that 
> folder (so no indexing and no search obviously) or is just a sort of 
> 'scope restriction' on the query search?
> 
> Thanks for the clarification,
> Andrea
> 
> 
> Achim Westermann ha scritto:
>> Hi Christoph,
>>
>> you may also set the property "search.exclude" to true on a folder (works for the subtree) or on a file.
>>
>> HTH,
>>
>> Achim
>>
>> Christoph P. Kukulies wrote:
>>   
>>> 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
>>>
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>>     
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>   
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 




More information about the opencms-dev mailing list