搜索 
WARNING
文档部分内容可能已过时,请以实际效果为准。
开始 
Nexmoe 现在支持三种搜索引擎,网页搜索引擎(如百度、Bing)、本地搜索和 Swiftype
使用网页搜索引擎 
- 打开你的博客配置文件,将search项下的type设置为engine,将url改为可用于直接搜索的网址
例:
yaml
search: 
    type: engine
    url: https://cn.bing.com/search?q=site:nexmoe.com使用本地搜索 
- 打开你的博客配置文件,将search项下的type设置为local
例:
yaml
search: 
    type: local- 打开你的站点配置文件,添加以下字段:
yaml
jsonContent:
  meta: false
  pages: false
  posts:
    title: true 
    date: false 
    path: true 
    text: true
    raw: false
    content: false
    slug: false
    updated: false
    comments: false
    link: false
    permalink: false
    excerpt: false
    categories: false
    tags: false⚠请确保你已经安装了
hexo-generator-json-content插件!
使用 Swiftype 
- 打开你的博客配置文件,将search项下的type设置为swiftype
- 转到你的 Swiftype 引擎仪表盘,进入Install Search,在你的安装代码(install code)的如图位置得到你的swiftype-id,并填入博客配置文件search项下的id项

例:
yaml
search:
    type: swiftype
    url: ... 
    id: FwpiTVmsf_TAL1XGiS17