Story #6437
openUpgrade to SOLR 4 or 5
Description
- spatial indexing/filters
- geohash (for heatmaps/displaying all spatial results at once)
- multiple nested facets
Related issues
Updated by ben leinfelder almost 11 years ago
- Description updated (diff)
- Assignee set to Peter Slaughter
Assigning to Peter for now -- seems he will be involved with SOLR for stats service and has already experimented with some of the SOLR 4 features.
Updated by ben leinfelder over 10 years ago
- Target version changed from 2.5.0 to 2.x.y
Updated by Peter Slaughter about 7 years ago
- Assignee changed from Peter Slaughter to Jing Tao
Updated by Peter Slaughter about 7 years ago
- Subject changed from Upgrade to SOLR 4 to Upgrade to SOLR 4 or 5
Updated by Peter Slaughter about 7 years ago
The main reason for updating to at least Solr 4.1 is for pivot queries. Also, Solr 5.3 is needed for the update to the stats component that allows
percentiles (quantiles) to be calculates. This capability is needed for box/whisker plots of metadata quality info that will be added to
the MetacatUI profile pages.
It appears that it may be necessary to recreate the Solr index when upgrading, as the Lucene
index format has changed from v3 to v4 as described here: https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+3+to+Solr+4.
It looks like v4 can run with a v3 index, but all v4 features may not be available.
Solr v5 cannot run with a v3 index at all, so upgrading is mandatory, using the v4.1 'IndexUpgrader', describe here: https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+4+to+Solr+5
So, one upgrade path is to upgrade from v3 to v5, and convert the index using 'IndexUpgrader'.