XWiki - Search Suggest Configuration

Page / - last modified by superadmin on 2019/11/08 18:10

Search Suggest Configuration

last modified by superadmin

on 2019/11/08 18:10

Table of Contents

Activated Whether the search suggest is active or not.

Yes

Sources Search suggest results are aggregated from multiple sources. The sources are grouped by the search engine they use. Each source is configured to match a specific thing (e.g. the page name). Only the sources that are active and that use the current search engine contribute results to the search suggest.

solr

3 Page titles

Name The name used to group search results taken from this source. It can be a translation key.

platform.search.suggestSourceDocumentTitle

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 page 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 Page 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 page 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 page 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 page 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 page 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 page 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 page 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