Since XWiki 12.10 Extension Manager comes with a local index of available extensions.

It's used by default in the Extension Manager UI when searching for extension to install. Aside from gathering all the extensions availables on the configured searchable repositories (including if they are recommended and their ratings) it also validate them on each namespace and store the result for each one so that you can filter only compatible extensions as a criteria in the extension advanced search query.

The main entry point is the org.xwiki.extension.index.ExtensionIndex component and extensions returned by the index implement the org.xwiki.extension.index.IndexedExtension interface which provide some information specific to the extension stored in the index (like whether or not it's compatible with a specific namespace).

Tags:
    

Get Connected