Project

General

Profile

Story #6437

Upgrade to SOLR 4 or 5

Added by ben leinfelder about 5 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

We'd like to make use of new key features in SOLR 4:
  • spatial indexing/filters
  • geohash (for heatmaps/displaying all spatial results at once)
  • multiple nested facets

Related issues

Blocks MetacatUI - Story #6319: Filter spatial data by centroid totally encompassed in the map viewport rather than bounding box encompassed in the map viewportResolved12/19/2013

History

#1 Updated by ben leinfelder about 5 years ago

  • Assignee set to Peter Slaughter
  • Description updated (diff)

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.

#2 Updated by ben leinfelder about 5 years ago

  • Target version changed from 2.5.0 to 2.x.y

#3 Updated by Peter Slaughter over 1 year ago

  • Assignee changed from Peter Slaughter to Jing Tao

#4 Updated by Peter Slaughter over 1 year ago

  • Subject changed from Upgrade to SOLR 4 to Upgrade to SOLR 4 or 5

#5 Updated by Peter Slaughter over 1 year 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'.

Also available in: Atom PDF