In most cases, you can use the management console to create most of your site-definition based filters. You can then modify the filter.conf and filterrules.conf files to make any further desired changes. These files reside in the directory /var/opt/SUNWportal/searchservers/searchserverid/config.
To create a more complex set of properties, edit the configuration files used by the robot.
When you write or modify a filter, note the order of
The execution of directives, especially the available information at each phase.
The filter rules in filterrules.conf.
You can also do the following:
Modify properties in robot.conf file.
Modify robot application functions in filter.conf file.
Create your own robot application functions.
For more information, see the Sun Java System Portal Server 7.1 Developer's Guide