Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including hexo-azuresearch with all npm packages installed. Try it out:

var hexoAzuresearch = require("hexo-azuresearch")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hexo-azuresearch v1.1.2

Azure search support for Hexo.


This Hexo plugin index your hexo blog and upload to Azure Search service.

For detailed setup procedures, please follow this tutorial:


npm install --save hexo-azuresearch


Add the following lines in your hexo global _config.yml. The analyzer field is optional, please refer to for a list of supported languages. In the following example I use Simplified Chinese.

  serviceURL: "<your-azure-search-service-url>"
  indexName: "<choose-a-index-name>"
  adminKey: "<your-azure-search-primary-admin-key>"
  excerptLimit: 300
  analyzer: "zh-Hans.lucene" # optional


This command will automatically re-generate the hexo site. You don't need to hexo clean.

hexo azuresearch
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free