Forums / Setup & design / Searching for multiple, but not all, classes

Searching for multiple, but not all, classes

Author Message

Marco Zinn

Wednesday 24 December 2003 9:31:12 am

I'd like to search for more than one, but not all readable classes.
IE: User can access folder, article, file and image classes.
(Advanced) Search should only search for folder, article and file, but not images.

Referring to http://ez.no/developer/ez_publish_3/documentation/customization/components/search/custom_search_box and http://ez.no/developer/ez_publish_3/documentation/customization/components/search/search_operator .
I think, it's not possible to limit the template search operator or the custom search to search 3 classes.
I was trying to find documentation on the PHP code (eZSearch class, i think), but I cannot find the SDK anywhere anymore.

Somebody please prove me wrong ;)

I think, for templates, one could do three seperate searches using the fetch "content, search" function, each limited to one class... but how do I merge the result array and will the array merge keep the order of the three "class search results" or will the merge mix everything up?
Did anyone successfully try this?

Marco
http://www.hyperroad-design.com