diff --git a/wikis/pom.xml b/wikis/pom.xml
index a61dabbf..aaa41c47 100644
--- a/wikis/pom.xml
+++ b/wikis/pom.xml
@@ -36,7 +36,6 @@
xwiki
xwiki-upgrade
devtools
- statssolr
diff --git a/wikis/statssolr/pom.xml b/wikis/statssolr/pom.xml
deleted file mode 100644
index a4fe2a09..00000000
--- a/wikis/statssolr/pom.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
- 4.0.0
-
- xwiki-dinsic-wikidemarches-wikis
- com.xwiki.projects.dinsic.wikidemarches
- 5.1-SNAPSHOT
-
- xwiki-dinsic-wikidemarches-wikis-statssolr
- XWiki Projects - DINSIC Wiki Demarches - Solr statistics
- Contains a prototype for statistics based on solr.
- xar
-
-
-
- org.xwiki.commons
- xwiki-commons-tool-xar-plugin
-
- true
-
-
-
-
-
diff --git a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisDemarcheFacet.xml b/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisDemarcheFacet.xml
deleted file mode 100644
index e3ddc3d0..00000000
--- a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisDemarcheFacet.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- Avis.Admin.SolrSearch
- AvisDemarcheFacet
-
-
- 0
- xwiki:XWiki.Admin
- 1644586857000
- Avis.Admin.SolrSearch.WebHome
- xwiki:XWiki.Admin
- xwiki:XWiki.Admin
- 1644586931000
- 1644586931000
- 1.1
- AvisDemarcheFacet
-
- false
- xwiki/2.1
- true
- {{velocity}}
-#macro (displaySearchFacetValue_demarche $value)
- #if ($value.startsWith("Demarches."))
- $value.replace("Demarches.", "")
- #else
- $value
- #end
-#end
-#if ($facetValues)
- {{html}}
- <ul class="${facetField.name}">
- #displaySearchFacetValuesLimited($facetValues {} 'displaySearchFacetValue_demarche')
- </ul>
- {{/html}}
-#end
-{{/velocity}}
-
diff --git a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisSmileyFacet.xml b/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisSmileyFacet.xml
deleted file mode 100644
index 757a2ef7..00000000
--- a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisSmileyFacet.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
- Avis.Admin.SolrSearch
- AvisSmileyFacet
-
-
- 0
- xwiki:XWiki.Admin
- 1644579218000
- Avis.Admin.SolrSearch.WebHome
- xwiki:XWiki.Admin
- xwiki:XWiki.Admin
- 1644586258000
- 1644586258000
- 1.1
- AvisSmileyFacet
-
- false
- xwiki/2.1
- true
- {{velocity}}
-#macro (displaySearchFacetValue_tradSmiley $value)
- #if ("$!value" != '' && ($value == '1' || $value == '2' || $value == '3'))
- $services.localization.render($facetField.name.replace("property.", "").replace('AvisClass.', 'AvisClass_').replace("_int", "_${value}"))
- #elseif ("$!value" != '')
- $value
- #else
- Valeur vide
- #end
-#end
-#if ($facetValues)
- {{html}}
- <ul class="${facetField.name}">
- #displaySearchFacetValuesLimited($facetValues {} 'displaySearchFacetValue_tradSmiley')
- </ul>
- {{/html}}
-#end
-{{/velocity}}
-
diff --git a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisStaticListFacet.xml b/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisStaticListFacet.xml
deleted file mode 100644
index 706d61fc..00000000
--- a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/AvisStaticListFacet.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- Avis.Admin.SolrSearch
- AvisStaticListFacet
-
-
- 0
- xwiki:XWiki.Admin
- 1644578588000
- Avis.Admin.SolrSearch.WebHome
- xwiki:XWiki.Admin
- xwiki:XWiki.Admin
- 1644579162000
- 1644579162000
- 1.1
- AvisStaticListFacet
-
- false
- xwiki/2.1
- true
- {{velocity}}
-#macro (displaySearchFacetValue_tradStaticList $value)
- #if ("$!value" != '')
- $services.localization.render($facetField.name.replace("property.", "").replace('AvisClass.', 'AvisClass_').replace("_string", "_${value}"))
- #else
- Valeur vide
- #end
-#end
-#if ($facetValues)
- {{html}}
- <ul class="${facetField.name}">
- #displaySearchFacetValuesLimited($facetValues {} 'displaySearchFacetValue_tradStaticList')
- </ul>
- {{/html}}
-#end
-{{/velocity}}
-
diff --git a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/SolrSearchConfig.xml b/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/SolrSearchConfig.xml
deleted file mode 100644
index 386c717c..00000000
--- a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/SolrSearchConfig.xml
+++ /dev/null
@@ -1,168 +0,0 @@
-
-
-
-
-
- Avis.Admin.SolrSearch
- SolrSearchConfig
-
-
- 0
- xwiki:XWiki.Admin
- 1644574949000
- xwiki:Avis.Admin.SolrSearch.WebHome
- xwiki:XWiki.Admin
- xwiki:XWiki.Admin
- 1644586975000
- 1644586975000
- 1.1
-
-
- false
- xwiki/2.1
- true
- {{velocity output="false"}}
-#set ($__defaultSolrConfig = {
- 'queryFields': {
- 'DOCUMENT': 'title^10.0 name^10.0
- doccontent^2.0
- objcontent^0.4 filename^0.4 attcontent^0.4 doccontentraw^0.4
- author_display^0.08 creator_display^0.08
- comment^0.016 attauthor_display^0.016 spaces^0.016',
- 'ATTACHMENT': 'filename^5.0 attcontent attauthor_display^0.2',
- 'OBJECT': 'objcontent',
- 'OBJECT_PROPERTY': 'propertyvalue'
- },
- 'sortFields': {
- 'DOCUMENT': {
- 'score': 'desc',
- 'title_sort': 'asc',
- 'date': 'desc',
- 'author_display_sort': 'asc'
- },
- 'ATTACHMENT': {
- 'score': 'desc',
- 'filename_sort': 'asc',
- 'attsize_sort': 'asc',
- 'attdate_sort': 'desc',
- 'attauthor_display_sort': 'asc'
- }
- },
- 'filterQuery': [
- 'type:DOCUMENT',
- 'class:Avis.Code.AvisClass',
- 'space_exact:Avis'
- ],
- 'facetFields': [
- 'property.Avis.Code.AvisClass.demarche_string',
- 'property.Avis.Code.AvisClass.score_int',
- 'property.Avis.Code.AvisClass.facile_int',
- 'property.Avis.Code.AvisClass.comprehensible_int',
- 'property.Avis.Code.AvisClass.difficultes_string',
- 'property.Avis.Code.AvisClass.aide_string',
- 'property.Avis.Code.AvisClass.source_string',
- 'creationdate', 'author', 'creator'
- ],
- 'facetQuery': {
- 'type': 'DOCUMENT',
- 'locale': ["$xcontext.locale", '']
- },
- 'facetEnabled': true,
- 'facetDisplayers': {
- 'property.Avis.Code.AvisClass.demarche_string': 'Avis.Admin.SolrSearch.AvisDemarcheFacet',
- 'property.Avis.Code.AvisClass.difficultes_string': 'Avis.Admin.SolrSearch.AvisStaticListFacet',
- 'property.Avis.Code.AvisClass.aide_string': 'Avis.Admin.SolrSearch.AvisStaticListFacet',
- 'property.Avis.Code.AvisClass.score_int': 'Avis.Admin.SolrSearch.AvisSmileyFacet',
- 'property.Avis.Code.AvisClass.facile_int': 'Avis.Admin.SolrSearch.AvisSmileyFacet',
- 'property.Avis.Code.AvisClass.comprehensible_int': 'Avis.Admin.SolrSearch.AvisSmileyFacet',
- 'author': 'Main.SolrUserFacet',
- 'creator': 'Main.SolrUserFacet',
- 'date': 'Main.SolrDateFacet',
- 'creationdate': 'Main.SolrDateFacet'
- },
- 'facetDisplayersByPropertyType': {
- 'Date': 'Main.SolrDateFacet',
- 'Users': 'Main.SolrUserFacet',
- 'Groups': 'Main.SolrUserFacet'
- },
- 'facetPaginationStep': 6,
- 'facet': {
- 'mediaType': {
- 'categories': {
- 'text': ['text/', 'application/xml', 'application/javascript', 'application/ecmascript',
- 'application/json', 'application/x-sh', '+xml'],
- 'image': ['image/'],
- 'office': ['application/pdf', 'application/postscript', 'application/msword', 'application/vnd.ms-',
- 'application/vnd.oasis.opendocument.', 'application/vnd.openxmlformats-officedocument.'],
- 'archive': ['application/zip', 'application/x-gzip', 'application/x-bzip', 'application/x-tar',
- 'application/x-gtar', 'application/vnd.xara', '-archive', '-compressed', '-package', '+zip'],
- 'audio': ['audio/'],
- 'video': ['video/'],
- 'font': ['application/font-', 'application/x-font-']
- },
- 'subcategories': {
- 'office': {
- 'word': ['application/msword', 'application/vnd.ms-word.', 'application/vnd.oasis.opendocument.text',
- 'application/vnd.openxmlformats-officedocument.word'],
- 'presentation': ['application/vnd.ms-powerpoint', 'application/vnd.oasis.opendocument.presentation',
- 'application/vnd.openxmlformats-officedocument.presentation'],
- 'spreadsheet': ['application/vnd.ms-excel', 'application/vnd.oasis.opendocument.spreadsheet',
- 'application/vnd.openxmlformats-officedocument.spreadsheet']
- }
- }
- },
- 'fileSize': {
- 'intervals': [
- {
- 'id': 'tiny',
- 'end': 10240
- }, {
- 'id': 'small',
- 'start': 10240,
- 'end': 512000
- }, {
- 'id': 'medium',
- 'start': 512000,
- 'end': 5242880
- }, {
- 'id': 'large',
- 'start': 5242880
- }
- ]
- }
- },
- 'wikisSearchableFromMainWiki': $wikisSearchableFromMainWiki,
- 'highlightEnabled' : true
-})
-
-#if (!$xcontext.isMainWiki() || !$xwiki.hasSubWikis())
- ## Subwikis search by default in their content only so it doesn't make sense to display the wiki facet.
- ## It also doesn't make sense to display the wiki facet if there is a single wiki.
- #set ($discard = $__defaultSolrConfig.facetFields.remove('wiki'))
-#end
-
-#if ($solrConfig)
- ## Merge the provided configuration with the default configuration.
- #set ($discard = $__defaultSolrConfig.putAll($solrConfig))
-#end
-#set ($solrConfig = $__defaultSolrConfig)
-{{/velocity}}
-
diff --git a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/WebHome.xml b/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/WebHome.xml
deleted file mode 100644
index f5e85f2f..00000000
--- a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/WebHome.xml
+++ /dev/null
@@ -1,212 +0,0 @@
-
-
-
-
-
- Avis.Admin.SolrSearch
- WebHome
-
-
- 0
- xwiki:XWiki.Admin
- 1644574916000
- xwiki:Avis.Admin.WebHome
- xwiki:XWiki.Admin
- xwiki:XWiki.Admin
- 1644587757000
- 1644587757000
- 1.1
- Exploration des avis par index Solr
-
- false
- xwiki/2.1
- true
- {{include reference="Avis.Admin.SolrSearch.SolrSearchConfig" /}}
-
-{{include reference="Main.SolrSearchMacros" /}}
-
-{{velocity}}
-Recherchez un mot des verbatims ou * pour voir tous les résultats et filtrer par les filtres à droite.
-
-#handleSolrSearchRequest
-{{/velocity}}
-
- dark-grey-disclosure-arrow-down.png
- xwiki:XWiki.Admin
- 1526636440000
- 1.1
-
- iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAYAAABCxiV9AAAAJUlEQVQIW2OIjIz8jwszAAkGbBJAwACTZECXAEuCCGQFMAkQBgCrMjrDUR6EaAAAAABJRU5ErkJggg==
- 94
-
-
- dark-grey-disclosure-arrow-left.png
- xwiki:XWiki.Admin
- 1526636440000
- 1.1
-
- iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHCAQAAACFbCRbAAAAJ0lEQVQI1y3GMQEAIAwDsGy4RCCiMDOOciU1Nsy6MHSgA33qh7RJH1DfCDMFeFsmAAAAAElFTkSuQmCC
- 96
-
-
- light-grey-disclosure-arrow-down.png
- xwiki:XWiki.Admin
- 1526636440000
- 1.1
-
- iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAYAAABCxiV9AAAAJElEQVQIW2M4c+bMf1yY4f///wzYJEDiYEl0BTAxuCRMATIfAOkKWg0ssytEAAAAAElFTkSuQmCC
- 93
-
-
- light-grey-disclosure-arrow-left.png
- xwiki:XWiki.Admin
- 1526636440000
- 1.1
-
- iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHCAQAAACFbCRbAAAAJUlEQVQI1zXKsQ0AIADDMLf//8ZJMFRMzpAc4HbQQQeVH5abwwPlkgTcUkPn+AAAAABJRU5ErkJggg==
- 94
-
-
-
diff --git a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/WebPreferences.xml b/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/WebPreferences.xml
deleted file mode 100644
index 9a48f325..00000000
--- a/wikis/statssolr/src/main/resources/Avis/Admin/SolrSearch/WebPreferences.xml
+++ /dev/null
@@ -1,1325 +0,0 @@
-
-
-
-
-
- Avis.Admin.SolrSearch
- WebPreferences
-
-
- 0
- xwiki:XWiki.Admin
- 1644587015000
- Avis.Admin.SolrSearch.WebHome
- xwiki:XWiki.Admin
- xwiki:XWiki.Admin
- 1644587031000
- 1644587015000
- 1.1
- Préférences
-
- false
- xwiki/2.1
- true
-
-
-
-