XWIKI-8741: Add Solr configuration method
- moving Solr configuration files to a better location
XWIKI-8741: Add Solr configuration method
- Added component that retrieves the configuration from the xwiki.properties file.
XWIKI-8442: Add support for using a remote Solr instance instead of the embedded one
- Automatically attaching the solr configuration zip to the xwiki:XWiki.SolrSearchAdmn page on startup if it does not already exist.
- Updated the instance provider and the embedded instance to use the new configuration component.
- Fixed tests.
XWIKI-8579: Properly handle multilingual documents (translations) in Solr
- Set up field aliases to ensure that, at query time, when quering for a multilingual field, all its variations (title_en | title_ro | title_fr | etc...) are queried as well. This is configured in solrconfig.xml.
- Added schema.xml configurations (field types and dynamic fields using the field types) for various languages (default supported ones provided by Solr). More configuration of the language resources is needed.
- Updated the metadata extractors to use the new field layout.
- Attachments/objects/properties are now indexed for all languages, making sure that they are not skipped on searches. Before, they were only indexed for the language of the original document, causing searches in the language of a translations to not hit these entities.
- Updated schema.xml and solrconfig.xml files with some of the changes in the Solr default ones, though some cleanup might still be necesary to remove unneeded components.
XWIKI-8579: Properly handle multilingual documents (translations) in Solr
- Added missing propertyvalue field alias
- Fixed checkstyle problem
XWIKI-8579: Properly handle multilingual documents (translations) in Solr
- Updated the search UI page to properly handle the new multiValue type of the lang field
- Make sure to trigger query debugging only when needed