Testing a Search Query

Test the Sybase Search settings for searching across documents. The results are shown in a schema tree.

  1. In the Enterprise Explorer, expand Sybase Search Servers > (Sybase Search Connection Profile) > Sybase Search Server.
  2. Right-click Sybase Search Server and select Sybase Search Test.
  3. Enter appropriate values for the following fields that appear in the Sybase Search Test wizard:
    Table 1. Test Sybase Search Settings
    Field Description

    Query Terms

    Enter a natural-language query. The more information you provide, the more accurate your results. Specify terms to be included or excluded from the search criteria.

    Query Not Terms

    Enter terms to indicate concepts dissimilar to those for which you are searching. Unlike the Boolean NOT operator, documents that contain Query Not Terms are considered for retrieval. However, the number of these terms that a document contains is considered by the scoring algorithm, and its relevance score is downgraded accordingly based on the weight of each Query Not Term it contains. For example, a search for “operating systems” with a Query Not Term of “Windows XP ” does not discount a document for containing the phrase “opens in a new window.”

    Results Per Page

    Enter the number of document results to display for each page.

    Minimum Document Relevance

    Select a percentage value to define the minimum relevance ranking that a document must score for it to be included in the search results.

    Score Unknown Terms

    Include terms that are unknown to the system (and therefore, do not exist in any indexed document) in the scoring algorithm.

    Page Offset

    Enter a number to define the starting position of the results per page to display. By default Page Offset is zero.

    Paragraphs

    Enter the number of paragraphs to display for each result document.

    Get Document Groups

    View a list of all predefined document groups in Sybase Search.

    Get Categories

    View a list of all predefined document categories, and the documents in each category.

    Get Metadata

    View all predefined metadata parameters and types.

    Save Results

    Save a copy of the search results to a local disk.

  4. Click Run Query to search across documents.
  5. (Optional) Click Next to filter your search to one or more predefined document groups or categories.
  6. Select the specific category or groups from the Document Group non-members list and click Back.
  7. Click Run Query.

    This displays only the documents from the chosen document groups or categories.

  8. Click Finish to exit the wizard.
Related tasks
Managing a Document Store
Managing a Document Group
Managing a Document Category

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.