Project

General

Profile

Actions

Story #6437

open

Upgrade to SOLR 4 or 5

Added by ben leinfelder about 10 years ago. Updated over 6 years 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

Actions
Actions #1

Updated by ben leinfelder about 10 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.

Actions #2

Updated by ben leinfelder almost 10 years ago

  • Target version changed from 2.5.0 to 2.x.y
Actions #3

Updated by Peter Slaughter over 6 years ago

  • Assignee changed from Peter Slaughter to Jing Tao
Actions #4

Updated by Peter Slaughter over 6 years ago

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

Updated by Peter Slaughter over 6 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'.

Actions

Also available in: Atom PDF