<commit_before># hexo-generator-search

Generate search data for Hexo 3.0.This plugin is used to generator a search.xml file.The file contains the main data of your blog so that you can use the data to finish a search function for your blog.

## Install

``` bash
$ npm install hexo-generator-search --save
```

## Options

You can configure this plugin in `_config.yml`.dgdgdgdgdgdgdgd

``` yaml
search:
  path: search.xml
  field: post
```

- **path** - file path. (Default: search.xml)
- **field** - the field you want to search, you can chose post 、page or post,page(Default:post)<commit_msg>last commit<commit_after># hexo-generator-search

Generate search data for Hexo 3.0.This plugin is used to generator a search.xml file.The file contains the main data of your blog so that you can use the data to finish a search function for your blog.

## Install

``` bash
$ npm install hexo-generator-search --save
```

## Options

You can configure this plugin in `_config.yml`.

``` yaml
search:
  path: search.xml
  field: post
```

- **path** - file path. (Default: search.xml)
- **field** - the field you want to search, you can chose post 、page or post,page(Default:post)
{'fraction_non_alphanumeric': 0.1072340425531915, 'fraction_numerical': 0.003404255319148936, 'mean_word_length': 3.9, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5054414', 'n_tokens_mistral': 372, 'n_tokens_neox': 350, 'n_words': 156}