code: def test_plugin_config_indexing(self):
      expected = {
          "lang": None,
          "separator": r"[\s\-]+",
          "min_search_length": 3,
          "prebuild_index": False,
          "indexing": "titles",
      }
      plugin = search.SearchPlugin()
      errors, warnings = plugin.load_config({"indexing": "titles"})
      self.assertEqual(plugin.config, expected)
      self.assertEqual(errors, [])
      self.assertEqual(warnings, [])
  
imports: import json
  import unittest
  from unittest import mock
  from mkdocs.config.config_options import ValidationError
  from mkdocs.contrib import search
  from mkdocs.contrib.search import search_index
  from mkdocs.structure.files import File
  from mkdocs.structure.pages import Page
  from mkdocs.structure.toc import get_toc
  from mkdocs.tests.base import dedent, get_markdown_toc, load_config
label_desc: Use image node_id 6 for calling the SearchPluginTests obj's underlying member method code with example usage: obj.test_plugin_config_indexing() without return types