Specify multiple categories for category search?

Is it possible to specify multiple categories to search in when doing a category restricted search like so:

<search:setCategory category="cat1"/>

<search:setSearchAll searchAll="false"/>

This sample searches only in "cat1". Now is it somehow possible to specify multiple categories with the setCategory tag? If so, how? If not, any other possibility to perform a multi-category search?

thanks in advance!

[499 byte] By [obstler42a] at [2007-11-26 16:05:44]
# 1
Unfortunately, the setCategory tag can only take single category, so there is no way to do a multiple categories search by using search taglib.
Allen.Chianga at 2007-7-8 22:27:48 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2
But you can always add them as part or search scope.For example:originalScope + "<and> (classification = "category1" <or> classification = "category2")
Allen.Chianga at 2007-7-8 22:27:48 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3
So when adding it manually to the scope I don't use the setCategory tag, but do I set the searchAll=False and add it to the scope just before calling execute?
obstler42a at 2007-7-8 22:27:48 > top of Java-index,Web & Directory Servers,Portal Servers...
# 4
I think the tag "searchAll" only works with "setCategory", so you do not need to use it.Message was edited by: Allen.Chiang
Allen.Chianga at 2007-7-8 22:27:48 > top of Java-index,Web & Directory Servers,Portal Servers...