Test search and search settings

Prev Next

Available in Classic and VPC

Test search and search settings explains how to set up and test the search engine for the domain you create. You can set up and test your search engine's ranking module, autocomplete, stopwords, and thesaurus.

Search test

You can test your search by changing your search criteria and sorting method in the console. The following describes how to run a search test.

  1. From the NAVER Cloud Platform console, click the i_menu > Services > Big Data & Analytics > Cloud Search in order.
  2. Click the Domain menu.
  3. After selecting the domain you want to test, click the [Search settings] button.
  4. Click the [Search Test] tab.
  5. After selecting a test method, run a test according to the selected test method.
    cloudsearch-searchsetting_test_ko
Note
  • Search request content is preserved even if you change the test method during testing.
  • You can check the past search history and retrieve the search request by clicking the [Load history] button.
    • You can check search history only in the browser used to search.

Test with search term

The following describes how to test a search by entering a search term on the Search Test tab screen.

  1. Click Test by search term.
  2. After clicking the search conditions, set the search conditions and click the [OK] button.
    • Index name: selects the index to use for your search
    • Highlight tags: selects whether to highlight search terms in search results
    • Stopwords: selects which stopword rules to apply
      • none: does not apply stopword rules
      • To apply stopword rules, first create a stopword rule (see Create stopword rules).
    • Sort by: selects a section variable to sort search results by
      • Multiple clicks can be set to ascending (asc), descending (desc), or deselection.
      • If not selected, search results are sorted in order of highest document weight (qds).
  3. After entering a search term, click the [Search] button.
  4. Check the search results.
    • [Reset] button: resets search conditions and search results
    • i-cloudsearch-more: checks search results in JSON format
    • View ranking weight: checks the ranking and qds of the retrieved documents

Test with direct input

The following describes how to test a search by entering a search query on the Search Test tab screen.

  1. Click Test with direct input.
  2. After entering a search query, click the [Search] button.
    • [Note]: checks the user guide for search query
    • [Reset] button: resets search query and search results
    • i-cloudsearch-more: checks search results in JSON format
    • View ranking weight: checks the ranking and qds of the retrieved documents
Note

For information on how to build a search query, see Search query.

Ranking formula

The following describes how to test a search by editing the ranking module and ranking formula on the Search Test tab screen.

Note

We describe how to manage search tests and ranking modules. For more information on the ranking formula, see Ranking formula.

  1. Click Ranking formula.
  2. From the drop-down menu of Ranking name, select a ranking module to apply to your search.
  3. Check the ranking formula of the selected ranking module and correct it if necessary.
    • [Add] button: After entering the ranking variable and expression, click to add the ranking formula
    • i-cloudsearch-edit / i-cloudsearch-delete: edit/delete ranking formula
    • [Save] button: saves the modified content to the ranking module
    • [Save as] button: creates a new ranking module with the modified content
    • [Set default ranking] button: sets the selected module as the default ranking
      • If you specify it as the default ranking, you can specify the ranking variable defined in the ranking module as a parameter of the sort option without the ranking option when searching. (see Search query for more details)
    • [Delete ranking] button: deletes the selected ranking module
      • You cannot delete the default rankings.
  4. After entering a search query, click the [Search] button.
    • The search results with the applied ranking formula appear.
    • [Reset] button: resets search query, ranking formula and search results
    • i-cloudsearch-more: checks search results in JSON format
    • View ranking weight: checks the ranking and qds of the retrieved documents

Autocomplete

The following describes how to set up the search term autocomplete function for the first time, change the settings, and test your search.

  1. From the NAVER Cloud Platform console, click the i_menu > Services > Big Data & Analytics > Cloud Search in order.
  2. Click the Domain menu.
  3. After selecting the domain you want to test, click the [Search settings] button.
  4. Click the [Autocomplete] tab.
  5. Click the [Set autocomplete target] button.
  6. In the pop-up window for the autocomplete target, select the section or index to set the autocomplete function for and then click the [Set] button.
    • Depending on the number of documents stored, it may take 2-3 hours to reflect the autocomplete index.
  7. After selecting an autocomplete target, test the autocomplete feature by entering a search term in the search bar.
Note

Section and index changes due to document uploads, index modifications, and so on require manual update of the autocomplete index. (see Update autocomplete index)

Stopword

You can create stopword rules to set words and exclusion rules to exclude from searches.

Note

For stopword rules to be applied when searching, you must set "stopword": "불용어 규칙 이름" in the search field of the search query. For more information, see search.

Create stopword rules

The following describes how to create stopword rules.

  1. From the NAVER Cloud Platform console, click the i_menu > Services > Big Data & Analytics > Cloud Search in order.
  2. Click the Domain menu.
  3. After selecting the domain you want to test, click the [Search settings] button.
  4. Click the [Stopword] tab.
  5. Click the [Add] button.
  6. When the pop-up window for rule information appears, enter the rule information and click the [OK] button.
    • Rule name: must start with a letters or an underscores (_), and can only enter letters, numbers, underscores (_) and hyphens (-).
    • Rule type: sets method to apply rules
      • Partial matching: excludes from search if search term contains stopwords
      • Exact matching: excludes from search if the search term and stopword match exactly
    • Case sensitive: sets case sensitive
    • Word list: enters stopwords separated by commas (,)

Edit stopword rules

The following describes how to edit stopword rules.

  1. From the NAVER Cloud Platform console, click the i_menu > Services > Big Data & Analytics > Cloud Search in order.
  2. Click the Domain menu.
  3. After selecting the domain you want to test, click the [Search settings] button.
  4. Click the [Stopword] tab.
  5. Select the rule to edit and then click the [Edit] button.
  6. Edit rule information and click the [OK] button.

Delete stopword rules

The following describes how to delete stopword rules.

  1. From the NAVER Cloud Platform console, click the i_menu > Services > Big Data & Analytics > Cloud Search in order.
  2. Click the Domain menu.
  3. After selecting the domain you want to test, click the [Search settings] button.
  4. Click the [Stopword] tab.
  5. Select the rule to delete and then click the [Delete Stopword] button.
  6. When the pop-up window for deleting rules appears, click the [OK] button.
    • The rule disappears from the list of stopword rules.

Thesaurus

By creating and applying a thesaurus, you can set the synonym search result of a search term to respond as well during a search.
To use the thesaurus, perform the following steps in order.

  1. Create a thesaurus (see Create thesaurus)
  2. Apply thesaurus as an analysis option when creating an index (see Change index)
  3. Set "syno": "true" in the search field of the search query when searching (see search)

Create thesaurus

The following is how to create thesaurus.

Note
  • You can only create one thesaurus per domain.
  • You cannot edit or delete thesaurus directly; you can only edit it by adding new versions.
  1. From the NAVER Cloud Platform console, click the i_menu > Services > Big Data & Analytics > Cloud Search in order.
  2. Click the Domain menu.
  3. After selecting the domain you want to test, click the [Search settings] button.
  4. Click the [Thesaurus] tab.
  5. Click the [Set] button.
  6. When the pop-up window for thesaurus information appears, enter the thesaurus information and click the [OK] button.
    • Thesaurus name: can only enter letters, numbers, and underscores (_)
    • Description: enters a description for the thesaurus and its version of the dictionary
    • Word list: enters synonyms
      • Enter synonyms separated by commas (,) or spaces
      • Enter words separated by line breaks
    • Thesaurus version: enters the version of the thesaurus

Add thesaurus version

The following describes how to add a thesaurus version.

Note
  • You cannot edit or delete thesaurus directly; you can only edit it by adding new versions.
  • When adding a version, you cannot check the word list of the previous version.
  1. From the NAVER Cloud Platform console, click the i_menu > Services > Big Data & Analytics > Cloud Search in order.
  2. Click the Domain menu.
  3. After selecting the domain you want to test, click the [Search settings] button.
  4. Click the [Thesaurus] tab.
  5. Click the [Add Version] button.
  6. If the pop-up window for the dictionary information appears, edit the description and word list.
  7. Enter the dictionary version.
    • Enter a higher number than the previous version.
  8. Click the [OK] button.
    • The thesaurus is updated to the new version.
    • The version information is updated, and you can check the comments entered for each version.

Delete thesaurus version

You cannot delete the thesaurus, but delete only information from previous versions. The following is how to delete previous versions of information.

  1. From the NAVER Cloud Platform console, click the i_menu > Services > Big Data & Analytics > Cloud Search in order.
  2. Click the Domain menu.
  3. After selecting the domain you want to test, click the [Search settings] button.
  4. Click the [Thesaurus] tab.
  5. Click i-cloudsearch-delete of the previous version in the version information.
    • The version disappears from the version information.