[wordpress插件] Advanced Search by My Solr Server我的Solr服务器的高级搜索

wordpress 插件 文章 2020-02-08 22:00 522 0 全屏看文

AI助手支持GPT4.0

评分

20

20

描述

Advanced Search by My Solr Server plugin replaces the default WordPress search.

“我的Solr服务器”高级搜索插件替换了默认的WordPress搜索。

Features and benefits include:

功能和优点包括:

    • Index pages, posts and custom post types
    • 索引页面,帖子和自定义帖子类型

    • Enable search and faceting on fields such as tags, categories, author, page type, custom fields and custom taxonomies
    • 启用对标签,类别,作者,页面类型,自定义字段和自定义分类法等字段的搜索和分面

    • Add special template tags so you can create your own custom result pages to match your theme.
    • 添加特殊的模板标签,以便您可以创建自己的自定义结果页面以匹配您的主题。

    • Search term suggestions (AutoComplete)
    • 搜索字词建议(自动完成)

    • Provides better search results based on relevancy
    • 根据相关性提供更好的搜索结果

    • Create custom summaries with the search terms highlighted
    • 创建突出显示的搜索字词的自定义摘要

    • Completely integrated into default WordPress theme and search widget.
    • 完全集成到默认的WordPress主题和搜索小部件中。

    • Configuration options allow you to select pages to ignore
    • 配置选项允许您选择要忽略的页面

    Note : In order to make Advanced Search by My Solr Server plugin work, you need a Solr server installed and configured with the provided schema.xml file.

    注意:为了使“按我的Solr服务器进行高级搜索”插件正常工作,您需要安装并配置了提供的schema.xml文件的Solr服务器。

安装步骤

Prerequisite

先决条件

A Solr server 3.6.0 or > installed and configured with the provided schema.xml file.

已安装并配置了提供的schema.xml文件的Solr服务器3.6.0或>。

This file is configured for English content.

此文件配置为英语内容。

Update this file according to your content language.

根据您的内容语言更新此文件。

In order to have spell checking work, in your solrconfig.xml file, check :

为了进行拼写检查,请在您的solrconfig.xml文件中检查:

    1. the spellchecker component have to be correctly configured :

      必须正确配置拼写检查器组件:


        


        

      default
        

      默认
        

      spell
        

      法术
        

      spellchecker
        

      拼写检查器
        

      true

      true

    2. the request handler includes the spellchecker component

      请求处理程序包括拼写检查器组件


         


         

      spellcheck
       

      拼写检查
       

    If you are using “Solr for WordPress” WordPress plugin, deactivate and uninstall it.

    如果您使用的是“ Solr for WordPress” WordPress插件,请停用并卸载它。

    Installation

    安装

      1. Upload the advanced-search-by-my-solr-server folder to the /wp-content/plugins/ directory
      2. advanced-by-by-my-solr-server 文件夹上载到 / wp-content / plugins / 目录

      3. Activate the plugin through the ‘Plugins’ menu in WordPress
      4. 通过WordPress中的“插件”菜单激活插件

      5. Go in Advanced Search by My Solr Server settings page (“Advanced Search by My Solr Server”), configure the plugin and Load your blog content in Solr (“Load Content” button)
      6. 进入“按我的Solr Server进行高级搜索”设置页面(“按我的Solr Server进行高级搜索”),配置插件,然后将博客内容加载到Solr中(“加载内容”按钮)

      Customize the plugin display

      自定义插件显示

      The plugin uses the template files located in the template directory.

      该插件使用位于 template 目录中的模板文件。

      You can implement your own template files by copying theses files with a new name terminating by “_custom” (for instance, the file mss_search.php is copied as mss_search_custom.php).

      您可以通过复制这些文件并使用以“ _custom”结尾的新名称来实现自己的模板文件(例如,文件mss_search.php被复制为mss_search_custom.php)。

      These new files can be located in the plugin’s template directory or in your theme’s main directory.

      这些新文件可以位于插件的模板目录或主题的主目录中。

下载地址

https://downloads.wordpress.org/plugin/advanced-search-by-my-solr-server.2.0.5.zip

https://downloads.wordpress.org/plugin/advanced-search-by-my-solr-server.2.0.5.zip

-EOF-

AI助手支持GPT4.0