Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows |
A search query is created using an HTML element.
<form action='<PathCmpnt type="servlet" />/library/site/ sitearea/content' method="post"> | This is the form header where you specify the location
of the content item containing the search element used to display the search
result.
This is usually the same content item that this HTML element is stored in. |
<table> <tr><td> <input type="text" name="search_query"/> </td></tr> <tr><td align="right"> <input type="submit" value="Search"/> </td></tr> </table> | This is the body of the search form. Like any standard
HTML form it contains an input field and a submit button.
In this example, a table has been used to format the search query form. |
</form> | This closes the form. |
<form action='<PathCmpnt type="servlet" />/library/site/ sitearea/content' method="post"> | This is the form header where you specify the location
of the content item containing the search element used to display the search
result.
This is usually the same content item that this HTML element is stored in. |
<table> <tr> <td>Content Title</td> <td><input type="text" name="search_title"/></td> </tr> <tr> <td>Author's Name</td> <td><input type="text" name="search_authors"/></td> </tr> <tr> <td>Content Body</td> <td> <input type="text" name="search_query"/> </td></tr> <tr><td align="right"> <input type="submit" value="Search"/> </td></tr> </table> | This is the body of the search form. Like any standard
HTML form it contains input fields and a submit button.
See below for a list of search parameter names. |
</form> | This closes the form. |
<form action='<PathCmpnt type="servlet" />/library/site/ sitearea/content' method="post"> | This is the form header where you specify the location
of the content item containing the search element used to display the search
result.
This is usually the same content item that this HTML element is stored in. |
<input type="hidden" name="search_authoringtemplate" value="Press Release"/> | Here a hidden input field has been added that searches for content that use the authoring template called "Press Release". |
<table> <tr> <td>Content Title</td> <td><input type="text" name="search_title"/></td> </tr> <tr> <td>Author's Name</td> <td><input type="text" name="search_authors"/></td> </tr> <tr> <td>Content Body</td> <td> <input type="text" name="search_query"/> </td></tr> <tr><td align="right"> <input type="submit" value="Search"/> </td></tr> </table> | This is the body of the search form. Like any standard HTML form it contains input fields and a submit button. |
</form> | This closes the form. |
<input name="search_parameter" />
search_query | Used to search the content of any elements stored in a content item. |
search_authoringtemplate | Used to search the authoring template, if available, that was used to create the content item. |
search_authors | Used to search the name or names of the authors for
the content item, if any are defined. Note: Searching for LDAP users
When searching for LDAP users, the full distinguished name must be submitted. Users will be unaware of what the actual distinguished name of a user will be. It is recommended that if planning to allow users to search for authors, you should create a predefined list or dropdown to allow users to select a known author. That way the user names can be displayed in a user-friendly manner, but the input submitted by the form can be the distinguished name for the selected user. |
search_categories | Used to search the categories of the content item if any are defined. |
search_description | Used to search the description of the content item. |
search_effectivedate | Used to search the effective date of the content item. Note: Search by date only works with the format MMM dd yyyy HH:mm:ss z. For example, Sep 20 2006. To change the format, you will need to edit the SearchService.DateFormatString parameter in the SearchService.properties file. |
search_expirationdate | Used to search the expiration date of the content item. Note: Search by date only works with the format MMM dd yyyy HH:mm:ss z. For example, Sep 20 2006. To change the format, you will need to edit the SearchService.DateFormatString parameter in the SearchService.properties file. |
search_keywords | Used to search the keywords of the content item if any are defined. |
search_lastmodifieddate | Used to search the last modified date of the content item. Note: Search by date only works with the format MMM dd yyyy HH:mm:ss z. For example, Sep 20 2006. To change the format, you will need to edit the SearchService.DateFormatString parameter in the SearchService.properties file. |
search_modifier | Used to search the name of the last person to modify the content item. |
search_name | Used to search the name of the content item. |
search_owners | Used to search the name or names of the owners of the
content item, if any are defined. Note: Searching for LDAP users
When searching for LDAP users, the full distinguished name must be submitted. Users will be unaware of what the actual distinguished name of a user will be. It is recommended that if planning to allow users to search for authors, you should create a predefined list or dropdown to allow users to select a known author. That way the user names can be displayed in a user-friendly manner, but the input submitted by the form can be the distinguished name for the selected user. |
search_title | Used to search the title of the content item. |
The Portal Search Engine allows the use of the following search syntaxes:
Note: These can only be used when searching the "search_query" parameter.
Using the plus and minus signs
For your query, type any words that describe what you are looking for. Use the plus and minus signs as follows: