activated: Yes
A suggest source is a URL that takes 3 parameters: query, input and nb. The query parameter must contain a __INPUT__ placeholder. This URL must process the query with the given user input and return the result in the XML format expected by the suggest component.
Name | URL | Query | Results Number | Icon | Highlight matches | Activated |
---|
Document name | $xwiki.getURL('XWiki.SuggestLuceneService', 'get', 'outputSyntax=plain') | name:__INPUT__* OR web:__INPUT__* | 3 | $xwiki.getSkinFile('icons/silk/page_white_text.png') | Yes | Yes |
Document content | $xwiki.getURL('XWiki.SuggestLuceneService', 'get', 'outputSyntax=plain') | __INPUT__* | 3 | $xwiki.getSkinFile('icons/silk/page_white_text.png') | No | Yes |
Attachment name | $xwiki.getURL('XWiki.SuggestLuceneService', 'get', 'outputSyntax=plain') | name:__INPUT__* AND type:attachment | 3 | $xwiki.getSkinFile('icons/silk/attach.png') | Yes | Yes |
Attachment content | $xwiki.getURL('XWiki.SuggestLuceneService', 'get', 'outputSyntax=plain') | __INPUT__* AND type:attachment | 3 | $xwiki.getSkinFile('icons/silk/attach.png') | No | Yes |
Blog Posts | $xwiki.getURL('XWiki.SuggestLuceneService', 'get', 'outputSyntax=plain') | __INPUT__* AND object:Blog.BlogPostClass | 3 | $xwiki.getSkinFile('icons/silk/page_white_picture.png') | No | No |
Users | $xwiki.getURL('XWiki.SuggestLuceneService', 'get', 'outputSyntax=plain') | __INPUT__* AND object:XWiki.XWikiUsers | 3 | $xwiki.getSkinFile('icons/silk/user.png') | No | Yes |