Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Ghost Fluent UI Ghost Fluent UI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ghost Themes
  • Ghost Fluent UIGhost Fluent UI
  • Wiki
  • Elasticsearch

Elasticsearch · Changes

Page history
Update Elasticsearch authored Feb 08, 2021 by Laurent Sittler's avatar Laurent Sittler
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 2 deletions
+2 -2
  • Elasticsearch.md Elasticsearch.md +2 -2
  • No files found.
Elasticsearch.md
View page @ 6e7fc5a1
# Configure Elasticsearch as search engine
To configure Elasticsearch as your Search Engine, you must follow this steps:
To configure Elasticsearch as your Search Engine, you must follow these steps:
1. From the Ghost **Code injection**, insert the following code into the _Site Header_
```html
......@@ -10,7 +10,7 @@ To configure Elasticsearch as your Search Engine, you must follow this steps:
var elasticsearch_auth = btoa(elasticsearch_username + ":" + elasticsearch_password);
</script>
```
2. If you Elasticsearch endpoint URL is different than the suggested one (`/api/search`), then precise the URL in addition to the other information:
2. If your Elasticsearch endpoint URL is different than the suggested one (`/api/search`), then precise the URL in addition to the other information:
```javascript
var elasticsearch_endpoint = 'https://my-elasticsearch.com';
```
Clone repository

Home

Theme

  • Header
  • Footer

Search Engine

  • GhostHunder
  • Elasticsearch

Apps Launcher

Templates

  • Posts
  • Pages
  • Tags
  • Featured
  • Events

Blog Comments

  • Isso