一般动作
登录
Wiki: BROPEN ▼: Document Index
»
Space: XWiki ▼: Document Index
»
Page: SearchSuggestConfig
搜索
default
页面动作
导出 ▼: 以PDF格式导出 以RTF格式导出 以HTML格式导出
更多动作 ▼: 打印预览 察看源码
欢迎进入Wiki » SearchCode » Search Suggest Configuration

# Search Suggest Configuration

在2013-10-11 09:55上被Administrator修改
评论 (0) · 附件 (1) · 记录 · 信息

# Search Suggest

Activated
  是

## Sources

- lucene
- solr

- 3 Document names

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceDocumentName`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `lucene`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestLuceneService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `name:__INPUT__* OR web:__INPUT__*`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:page_white_text`
  Highlight Highlight the searched text in the search suggest results.
    `1`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Document content

  Name The name used to group search results taken from this source. It can be a translation key.
    `$services.localization.render('platform.search.suggestSourceDocumentContent')`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    ``
  Service The search suggest service. It can be either a document reference or an external URL.
    `$xwiki.getURL('XWiki.SuggestLuceneService', 'get', 'outputSyntax=plain')`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `__INPUT__*`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `$xwiki.getSkinFile('icons/silk/page_white_text.png')`
  Highlight Highlight the searched text in the search suggest results.
    `0`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Attachment names

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceAttachmentName`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `lucene`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestLuceneService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `filename:__INPUT__* AND type:attachment`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:attach`
  Highlight Highlight the searched text in the search suggest results.
    `1`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Attachment content

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceAttachmentContent`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `lucene`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestLuceneService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `ft:__INPUT__* AND type:attachment`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:attach`
  Highlight Highlight the searched text in the search suggest results.
    `0`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Blog posts

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceBlogPost`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `lucene`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestLuceneService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `__INPUT__* AND object:Blog.BlogPostClass`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:page_white_picture`
  Highlight Highlight the searched text in the search suggest results.
    `0`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `0`

- 3 Users

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceUsers`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `lucene`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestLuceneService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `__INPUT__* AND object:XWiki.XWikiUsers`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:user`
  Highlight Highlight the searched text in the search suggest results.
    `0`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Document names

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceDocumentName`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `solr`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestSolrService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `(title:__INPUT__* OR name:__INPUT__*) AND type:DOCUMENT`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:page_white_text`
  Highlight Highlight the searched text in the search suggest results.
    `1`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Document content

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceDocumentContent`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `solr`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestSolrService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `(doccontent:__INPUT__* OR doccontentraw:__INPUT__*) AND type:DOCUMENT`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:page_white_text`
  Highlight Highlight the searched text in the search suggest results.
    `0`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Attachment names

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceAttachmentName`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `solr`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestSolrService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `filename:__INPUT__* AND type:ATTACHMENT`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:attach`
  Highlight Highlight the searched text in the search suggest results.
    `1`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Attachment content

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceAttachmentContent`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `solr`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestSolrService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `attcontent:__INPUT__* AND type:ATTACHMENT`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:attach`
  Highlight Highlight the searched text in the search suggest results.
    `0`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Blog posts

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceBlogPost`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `solr`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestSolrService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `objcontent:__INPUT__* AND type:OBJECT AND class:Blog.BlogPostClass`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:page_white_picture`
  Highlight Highlight the searched text in the search suggest results.
    `0`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `0`

- 3 Users

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceUsers`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `solr`
  Service The search suggest service. It can be either a document reference or an external URL.
    `XWiki.SuggestSolrService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `objcontent:__INPUT__* AND type:OBJECT AND class:XWiki.XWikiUsers`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:user`
  Highlight Highlight the searched text in the search suggest results.
    `0`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

- 3 Wikis

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.workspace.searchSuggestSourceWorkspaces`
  Engine The search engine used to retrieve the results. This source is ignored if the current wiki is configured to use a different search engine.
    `solr`
  Service The search suggest service. It can be either a document reference or an external URL.
    `xwiki:WorkspaceManager.WorkspacesSuggestSolrService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `class:XWiki.XWikiServerClass AND propertyname:wikiprettyname AND propertyvalue__:__INPUT__*`
  Limit The maximum number of search results taken from this source.
    `3`
  Icon The icon used to mark search results taken from this source. E.g. icon:user
    `icon:chart_organisation`
  Highlight Highlight the searched text in the search suggest results.
    `1`
  Activated Whether this source is used or not (as long as the source search engine matches the search engine used by the current wiki).
    `1`

标签：
在2013-10-01 11:53上被Administrator创建

- 评论 （0）
- 附件 （1）
- 记录
- 信息

# 快速链接

- 首页
- 新闻动态
- FAQ

Copyright © 2013 北京博瑞开源软件有限公司
京ICP备12048974号