Story #6437

Upgrade to SOLR 4 or 5

Added by ben leinfelder over 7 years ago. Updated almost 4 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


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


#1 Updated by ben leinfelder over 7 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 7 years ago

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

#3 Updated by Peter Slaughter almost 4 years ago

  • Assignee changed from Peter Slaughter to Jing Tao

#4 Updated by Peter Slaughter almost 4 years ago

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

#5 Updated by Peter Slaughter almost 4 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:
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:

So, one upgrade path is to upgrade from v3 to v5, and convert the index using 'IndexUpgrader'.

Also available in: Atom PDF