General Actions:
Log-in
Register
Home ▼: Wiki Index
»
Space: XWiki
»
Page: SearchSuggestConfig
default
Page Actions:
Export ▼: Export as PDF Export as RTF Export as HTML
More actions ▼: Print preview View Source
Welcome to bytebang » SearchCode » Search Suggest Configuration

# Search Suggest Configuration

Last modified by Administrator on 2014/06/29 19:29
Attachments (1) · Information

# Search Suggest

Activated
  Yes

## 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 Wikis

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceWikis`
  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:WikiManager.WikisSuggestLuceneService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `XWiki.XWikiServerClass.wikiprettyname:__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`

- 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.
    `fq=type:DOCUMENT qf=title^2 name`
  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.
    `fq=type:DOCUMENT qf=doccontent^2 doccontentraw`
  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.
    `fq=type:ATTACHMENT qf=filename`
  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.
    `fq=type:ATTACHMENT qf=attcontent`
  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.
    `fq=type:DOCUMENT fq=class:Blog.BlogPostClass qf=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.
    `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.
    `fq=type:DOCUMENT fq=class:XWiki.XWikiUsers qf=property.XWiki.XWikiUsers.last_name^10 property.XWiki.XWikiUsers.first_name^5 name^2.5 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 Wikis

  Name The name used to group search results taken from this source. It can be a translation key.
    `platform.search.suggestSourceWikis`
  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:WikiManager.WikisSuggestSolrService`
  Query The query that is passed to the search suggest service. It must contain a __INPUT__ placeholder for the searched text.
    `fq=type:DOCUMENT fq=hidden:true fq=class:XWiki.XWikiServerClass qf=property.XWiki.XWikiServerClass.wikiprettyname`
  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`

Tags:
Created by Administrator on 2014/06/29 19:29

- Attachments (1)
- Information

(c) 2026, by bytebang e.U. - Impressum - Datenschutz / Nutzungsbedingungen
-