Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cesium-plus-pod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Cesium-grp
cesium-plus-pod
Commits
a9933bc3
Commit
a9933bc3
authored
6 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] fix installation doc (add cluster remote+port config options)
parent
18fb22e2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#4304
failed
6 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/site/markdown/install.md
+9
-5
9 additions, 5 deletions
src/site/markdown/install.md
with
9 additions
and
5 deletions
src/site/markdown/install.md
+
9
−
5
View file @
a9933bc3
...
@@ -52,6 +52,10 @@ cd cesium-plus-pod-X.Y/config
...
@@ -52,6 +52,10 @@ cd cesium-plus-pod-X.Y/config
# Your ES cluster name
# Your ES cluster name
cluster.name
:
cesium-plus-pod-g1-TEST
cluster.name
:
cesium-plus-pod-g1-TEST
# Your ES cluster public host name (optional - required for publishing peering document)
cluster.remote.host
:
cesium-plus-pod.domain.com
cluster.remote.port
:
cesium-plus-pod.domain.com
# Use a descriptive name for the node:
# Use a descriptive name for the node:
node.name
:
ES-NODE-1
node.name
:
ES-NODE-1
...
@@ -128,23 +132,23 @@ When a blockchain currency has been indexed, you can test some fun queries :
...
@@ -128,23 +132,23 @@ When a blockchain currency has been indexed, you can test some fun queries :
-
get a block by number (e.g the block #0):
-
get a block by number (e.g the block #0):
http://localhost:9200/
g1-test
/block/0 ->
with some additional metadata given by ES
http://localhost:9200/
blockchain
/block/0 ->
the original block
http://localhost:9200/gtest/block/0
/_source -> the original JSON block
http://localhost:9200/g
1-
test/block/0
-> the block with additional fields from ElastiSearch
-
Block #125 with only hash, dividend and memberCount:
-
Block #125 with only hash, dividend and memberCount:
http://localhost:9200/gtest/block/125/_source?_source=number,hash,dividend,membersCount
http://localhost:9200/g
1-
test/block/125/_source?_source=number,hash,dividend,membersCount
-
All blocks using a pubkey (or whatever):
-
All blocks using a pubkey (or whatever):
http://localhost:9200/gtest/block/_search?q=9sbUKBMvJVxtEVhC4N9zV1GFTdaempezehAmtwA8zjKQ1
http://localhost:9200/g
1-
test/block/_search?q=9sbUKBMvJVxtEVhC4N9zV1GFTdaempezehAmtwA8zjKQ1
-
All blocks with a dividend, with only some selected fields (like dividend, number, hahs).
-
All blocks with a dividend, with only some selected fields (like dividend, number, hahs).
Note : Query executed in command line, using CURL:
Note : Query executed in command line, using CURL:
```
bash
```
bash
curl
-XGET
'http://localhost:9200/gtest/block/_search'
-d
'{
curl
-XGET
'http://localhost:9200/g
1-
test/block/_search'
-d
'{
"query": {
"query": {
"filtered" : {
"filtered" : {
"filter": {
"filter": {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment