<
From version < 2.1 >
edited by Vincent Massol
on 2011/10/28
To version < 3.1
edited by Ecaterina Moraru (Valica)
on 2016/03/17
Change comment: Install extension [org.xwiki.platform:xwiki-platform-faq-ui-7.4.2]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.evalica
Default language
... ... @@ -1,1 +1,0 @@
1 -en
Hidden
... ... @@ -1,1 +1,1 @@
1 -false
1 +true
Content
... ... @@ -1,7 +1,21 @@
1 -{{include document="XWiki.SearchCode"/}}
1 +{{include reference="XWiki.SearchCode"/}}
2 2  
3 -{{velocity}}
4 -#set($allwikinamelist = ["xwiki"])
5 -{{include document="$searchPage"/}}
3 +{{velocity output="false"}}
4 +#if ($searchEngine == 'solr')
5 + ## Customize the Solr Search UI for the FAQ application.
6 + #set ($solrConfig = {
7 + 'queryFields': 'title^3 property.FAQCode.FAQClass.answer',
8 + 'facetFields': ['creator', 'creationdate', 'author', 'date', 'mimetype', 'attauthor', 'attdate', 'attsize'],
9 + 'filterQuery': [
10 + 'type:DOCUMENT',
11 + "wiki:$xcontext.database",
12 + "space_exact:$doc.space",
13 + 'class:FAQCode.FAQClass'
14 + ]
15 + })
16 +#end
6 6  {{/velocity}}
7 7  
19 +{{velocity}}
20 +{{include reference="$searchPage"/}}
21 +{{/velocity}}

Get Connected