這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Search with Azure

外掛說明

Use the power of the Microsoft Cloud to reduce load on your server and have a faster and more intelligent search.

This WordPress plugin is easy to install and configure to quickly give you improved search on your site.

Microsoft® Azure™ Search is a scalable search service that leverages Microsoft’s deep knowledge of natural language processing.

This plugin adds all your posts and pages into the index and uses the search index to provide search suggestions and search results for your site.

Follow the four step Installation instructions to get up and running on your site.

螢幕擷圖

  • Search results id setting
  • Use widget in sidebar
  • Search results page

安裝方式

Step 1 – Create Search Service

  • Go to the Azure Portal to create the Search service.
  • Click the big + button at the top left and choose Data & Storage and then Search.
  • Choose all the options and click Create. It will take a few minutes to create the service.

Step 2 – Install Plugin

  • Login to your WordPress dashboard, go to Plugins >> Add New, search for search-with-azure, and click to install.
  • Get the admin key and query key from the Azure Portal.
  • In the WordPress dashboard go to the Settings page for the Search with Azure plugin and enter the two keys. Also enter the name of the search service and enter “posts” for the index name. Leave the Search Page ID blank for now.
  • Click “Save Changes”.
  • Click “Initialize Now” to load the pages and posts into the index service.

Step 3 – Create Search Results Page

  • Create a page that will be the result page when performing a search. This should be a page with the shortcode [search_with_azure]
  • Enter the id of this page in Search with Azure Settings.

Step 4 – Use Search Widget

  • You should use the widget anywhere you would normally use the default search widget, for example the sidebar.
  • You may also like to edit the theme to use the [search_with_azure] shortcode in the 404.php page.

The latest version of these instructions, including screenshots, can be found at
http://wpazuresearch.azurewebsites.net/tutorial/

常見問題集

Can I use the free version of Azure Search?

Yes. You can use the free or the paid version of Azure Search.

Where should I host my website?

You can host your website where you like, but you will get better performance if it’s hosted in the same Azure data center as the Azure Search service.

Where can I see of demo of this plugin?

http://wpazuresearch.azurewebsites.net/

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Search with Azure〉的開發相關工作。

參與者

將〈Search with Azure〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.1

  • Bug fixes.

1.1

  • Initial version.