Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Fix Version/s: 3.4-milestone-1
-
Component/s: Search
-
Labels:None
-
Difficulty:Unknown
-
Similar issues:
XWIKI-8406Deadlock in Lucene when trying to index a wiki from Search Administration XWIKI-2025 Option to block registration on wikis other than main wikis. XWIKI-1958XWiki.getVirtualWikisDatabaseNames does not search in main wiki XWIKI-8553EM UI does not allow installing an extension on a subwiki when it's installed on another wiki XWIKI-4905On an empty wiki, space administration displays the importer and "your wiki is empty" message XWIKI-7404XEM indexing options appearing in XE Search Administration Page XWIKI-8405The main wiki is not displayed in wikis list if subwikis exist. XWIKI-8598"Another rebuild is in progress." message displayed when trying to reindex the current wiki XWIKI-8829getVirtualWikisDatabaseNames does not include the main wiki when it has no descriptor
Description
Steps to reproduce:
- go on the main wiki Administration: Search
- on the Custom index section Wikis add a list of wikis from the farm
- tick "Clear the index"
- click "start indexing"
Result:
- the reindex does not clean the previous index
... if (this.rebuildInProgress) { LOGGER.warn("Cannot launch rebuild because another rebuild is in progress"); return LucenePluginApi.REBUILD_IN_PROGRESS; } else { if (clearIndex) { if (wikis == null) { this.indexUpdater.cleanIndex(); } else { // TODO: clean wikis listed in wikis } } ...
This feature does not seem to be implemented on https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-lucene/src/main/java/com/xpn/xwiki/plugin/lucene/IndexRebuilder.java
Issue Links
- relates to
-
XWIKI-8406
Deadlock in Lucene when trying to index a wiki from Search Administration
-
Fixed in a9840e2
(sorry Thomas, I already had a fix for this stashed for some time)