Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
GRIN-Global Server
GRIN-Global Server
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • GRIN-Global
  • GRIN-Global ServerGRIN-Global Server
  • Issues
  • #72

Closed
Open
Opened Jul 10, 2020 by Matija Obreza@mobrezaOwner
  • Report abuse
  • New issue
Report abuse New issue

Elasticsearch in GG-CE

GRIN-Global stores the primary data in a relational database. The relational database allows for exact querying, but is not well suited for full-text search across thousands of records.

GG-CE uses Elasticsearch (ES) (https://www.elastic.co) for full-text search over Accession and Inventory data.

Out of the box, GG-CE includes an embedded ES instance and no additional configuration is required. The embedded instance stores the index data in ${DATA_DIR}/elastic folder (e.g. /data/gringlobal/elastic.

External ES

Depending on the size of the database, the ES can use quite a lot of disk space, memory and disk space. It is sensible to run ES as its own service, independent of GG-CE. See https://www.elastic.co/guide/en/elasticsearch/reference/6.8/docker.html

GG-CE Server can then be configured to use the external ES by providing a list of ELASTICSEARCH_CLUSTER_NODES (or elasticsearch.cluster.nodes):

docker -e 'ELASTICSEARCH_CLUSTER_NODES=http://someip:9200,http://someother:9200' ...

GG-CE Elastic admin

The Elastic admin page in GG-CE allows the administrator to:

  1. Reindex selected entity
  2. Delete obsolete indexes
  3. Move aliases

image

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
1.0
Milestone
1.0
Assign milestone
Time tracking
None
Due date
None
Reference: grin-global/grin-global-server#72