Test search and search settings
    • PDF

    Test search and search settings

    • PDF

    Article Summary

    Available in Classic and VPC

    Search test and search settings explains how to set up and test the search engines for the domain you create. You can set up and test the search engine's ranking module, autocomplete, stop words, and thesaurus.

    Search test

    You can test the search by changing search conditions and sorting methods in the console. The following describes how to perform a search test.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Big Data & Analytics > Cloud Search menus, in that order.
    3. Click the Domain menu.
    4. Select the domain to test and then click the [Search settings] button.
    5. Click the [Search test] tab.
    6. Select a testing method and then perform the test according to the selected test method.
      cloudsearch-searchsetting_test_ko
    Note
    • Search request details are maintained even if you change the test method during testing.
    • Click the [Load history] button to check past search history and retrieve the search request details.
      • You can only check the search history in the browser used during the search.

    Test with search keywords

    The following describes how to test the search by entering search keywords on the Search test tab screen.

    1. Click Test by search keywords.
    2. Click Search condition to set search conditions and then click the [OK] button.
      • Index name: select the index to use for the search
      • Highlight tags: select whether to highlight search keywords in search results
      • Stop words: select which stop-word rules to apply
        • none: does not apply stop word rules
        • To apply stop word rules, you must first create stop world rules. (see Create stop word rules)
      • Sort condition: select the section variable to use as the sort criteria for search results
        • You can set the sort criteria to ascending (asc), descending (desc), or deselect it.
        • If you do not select sort criteria, search results are sorted by document weight (qds) in descending order.
    3. Enter the search keywords and then click the [OK] button.
    4. Check the search results.
      • [Initialization] button: initialize search conditions and results
      • i-cloudsearch-more: check search results in JSON format
      • View ranking weight: check the ranking and qds of the retrieved document

    Test with direct input

    The following describes how to test the search by entering search queries on the Search test tab screen.

    1. Click Test with direct input.
    2. Enter the search query and then click the [OK] button.
      • [Note]: check the search query user guide
      • [Initialization] button: initialize search queries and search results
      • i-cloudsearch-more: check search results in JSON format
      • View ranking weight: check the ranking and qds of the retrieved document
    Note

    For information on how to write search queries, see Search queries.

    Ranking formula

    The following describes how to test the search by editing ranking modules and ranking formulas on the Search test tab screen.

    Note

    This explanation focuses on how to manage search tests and ranking modules. For more information on ranking formulas, see Ranking formula.

    1. Click Ranking formula.
    2. Select the ranking module to apply to the search from the Ranking name dropdown menu.
    3. Check the ranking formula of the selected ranking module and edit it if necessary.
      • [Add] button: enter the ranking variables and expressions and click to add ranking formulas
      • i-cloudsearch-edit/i-cloudsearch-delete: edit or delete ranking formulas
      • [Save] button: save the edited content to the ranking module
      • [Save as new name] button: create a new ranking module with the edited content
      • [Set as default ranking] button: set the selected module as the default ranking
        • When set as the default ranking, you can specify the ranking variables defined in the ranking modules as parameters for the sort option in searches without the need for the ranking option. (for more information, see Search queries )
      • [Delete ranking] button: delete the selected ranking module
        • You cannot delete default rankings.
    4. Enter the search query and then click the [OK] button.
      • Search results with the ranking formula applied are displayed.
      • [Initialization] button: initialize search queries, ranking formulas, and search results
      • i-cloudsearch-more: check search results in JSON format
      • View ranking weight: check the ranking and qds of the retrieved document

    Autocomplete

    The following describes how to initially set up and change the search keywords autocomplete function and perform a search test.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Big Data & Analytics > Cloud Search menus, in that order.
    3. Click the Domain menu.
    4. Select the domain to test and then click the [Search settings] button.
    5. Click the [Autocomplete] tab.
    6. Click the [Set autocomplete target] button.
    7. Select the sections or indexes to set the autocomplete function in the Autocomplete target popup and then click the [Set] button.
      • Depending on the number of saved documents, it may take 2 to 3 hours to be applied to the autocomplete indexing.
    8. Select the autocomplete targets and then enter search keywords in the search box to test the autocomplete feature.
    Note

    If changes occur to sections or indexes due to document uploading or index editing, update the autocomplete index. (see Update autocomplete index)

    Stop words

    You can create stop word rules to set words and rules to be excluded from searches.

    Note

    To apply stop word rules for searches, set "stopword": "불용어 규칙 이름" in the search field of the search query. For more information, see search.

    Create stop word rules

    The following describes how to create stop word rules.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Big Data & Analytics > Cloud Search menus, in that order.
    3. Click the Domain menu.
    4. Select the domain to test and then click the [Search settings] button.
    5. Click the [Stop words] tab.
    6. Click the [Add] button.
    7. When the Rule information popup window appears, enter the rule information and click the [OK] button.
      • Rule name: must begin with a letter or an underscore (_). You can only enter letters, numbers, underscores (_), and hyphens (-)
      • Rule type: set how to apply rules
        • Partial match: when search keywords contain a stop word, excludes them from the search
        • Exact match: when search keywords match stop words exactly, excludes them from the search
      • Case sensitive: set whether to be case-sensitive
      • Word list: enter stop words separated by commas (,)

    Edit stop word rules

    The following describes how to edit stop word rules.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Big Data & Analytics > Cloud Search menus, in that order.
    3. Click the Domain menu.
    4. Select the domain to test and then click the [Search settings] button.
    5. Click the [Stop words] tab.
    6. Select the stop word rule you want to edit and click the [Edit] button.
    7. Edit the rule information and then click [OK].

    Delete stop word rules

    The following describes how to delete stop word rules.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Big Data & Analytics > Cloud Search menus, in that order.
    3. Click the Domain menu.
    4. Select the domain to test and then click the [Search settings] button.
    5. Click the [Stop words] tab.
    6. Select the stop word rule you want to delete and click the [Delete] button.
    7. When the Delete rule popup window appears, click the [OK] button.
      • The selected rule disappears from the list of stop word rules.

    Thesaurus

    You can create and apply a thesaurus so synonyms of the search keywords can also appear in the search results.
    To use a thesaurus, execute the following steps in order.

    1. Create thesaurus (see Create thesaurus)
    2. Apply the thesaurus as an analysis option during index creation (see Change index)
    3. Set "syno": "true" in the search field of the search query for the search (see search)

    Create thesaurus

    The following describes how to create a thesaurus.

    Note
    • You can only create one thesaurus per domain.
    • You cannot directly edit or delete a thesaurus. Edit it by adding a new version.
    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Big Data & Analytics > Cloud Search menus, in that order.
    3. Click the Domain menu.
    4. Select the domain to test and then click the [Search settings] button.
    5. Click the [Thesaurus] tab.
    6. Click the [Set] button.
    7. When the thesaurus information popup window appears, enter the thesaurus information and click the [OK] button.
      • Dictionary name: only letters, numbers, and underbars (_) can be entered
      • Description: enter a description of the thesaurus and its version
      • Word list: enter synonyms
        • Enter the synonyms separated by commas (,) or spaces
        • Enter words separated by line breaks
      • Thesaurus version: enter the thesaurus version

    Add thesaurus version

    The following describes how to add a version of the created thesaurus.

    Note
    • You cannot directly edit or delete a thesaurus. Edit it by adding a new version.
    • If you add a version, you cannot view the previous word lists.
    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Big Data & Analytics > Cloud Search menus, in that order.
    3. Click the Domain menu.
    4. Select the domain to test and then click the [Search settings] button.
    5. Click the [Thesaurus] tab.
    6. Click the [Add version] button.
    7. When the Dictionary information popup window appears, edit the description and word list.
    8. Enter the Dictionary version.
      • Enter a higher number than the previous version.
    9. Click the [OK] button.
      • The thesaurus is updated to the new version.
      • Version information is updated and you can check the descriptions entered for each version.

    Delete thesaurus version

    You cannot delete thesauruses. You can only delete information of the previous versions. The following describes how to delete information of the previous version.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Big Data & Analytics > Cloud Search menus, in that order.
    3. Click the Domain menu.
    4. Select the domain to test and then click the [Search settings] button.
    5. Click the [Thesaurus] tab.
    6. Click i-cloudsearch-delete of the previous version from Version information.
      • The version disappears from the version information.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.