How can I add a condition to a More search query?

When you add a condition to a search query in the More section of search, it focuses your search on more specific results. For example, you can specify that you want to find only documents that have a particular number in a particular field, or that contain certain specified words.

About this task

The application must have a full-text index to be searchable using conditions.

When you add a condition to a search query, it appears as a token in the Search field. To edit an existing condition in the search field, click the token twice to open the dialog box for the condition. To delete a condition, click the token once to select it, then press Delete.

To add a condition to a search query, follow these steps:

Procedure

  1. Open the application view you want to search.
  2. Click the search drop-down arrow and then click More Searches > Search This View (Notes Basic client users: Click View > Search This View).
  3. Click the More twistie in the Search in View form.
  4. Click one of the following buttons to specify the condition you want to use:
    Table 1. Search query condition options

    Condition

    Description

    Date

    Focuses your search on documents that were created or modified according to a specific date or time period.

    Author

    Focuses your search on documents that were created or modified (or not created or modified) by the specified author(s). This condition searches the $UpdatedBy field.

    Field

    Focuses your search on documents that contain specified text, numbers, or a date in a particular field.

    Form

    Focuses your search on documents that were created using one of the forms listed. This condition is most useful when searching in a view that contains several different forms.

    Multiple words

    Focuses your search on documents that contain (or do not contain) specified terms.

    Example form

    Focuses your search on documents that contain specified values in fields in an example form.

  5. Complete the information required for that condition, and then click Add to include the condition in your query.
  6. Optional: Specify other search query options, for example:
    • Select Use word variants to find documents that have words with the base word + certain suffixes. For example, a search for swim will also find swims, swimming, swimmer, and even swimmed. It will not find the variation swam, however, because the base word has changed, or swimmet, or swimsed because such suffixes are not acceptable with that word.
    • Select Fuzzy word search to find documents that have matches similar to your search, for example, a search for Califorrnia (spelled incorrectly) would find documents with California (spelled correctly) and a search for user requirement would also find documents with user has a requirement.
  7. If the application's index has not been updated recently (as indicated by the Last Indexed date), click Update Index to ensure the search is performed against the most up-to-date content.
  8. Click Search.
  9. Optional: you can preserve the search query for future use by clicking Save. Use the Load search button to retrieve and reuse any saved search query.