You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-11Lines changed: 6 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ For guidance on how to get an instance of ES and kibana running vist our doc on
91
91
92
92
### Run the indexer
93
93
94
-
#### Using a local sql project
94
+
#### Using a local sqlite Senzing database
95
95
96
96
1. We will mount the sqlite database; make sure the `CONNECTION` string in our config json points to where it is mounted. In this example the `CONNECTION` will need to point towards the `/db` dir. We also need to run the container as part of the network that the ELK-stack is running in. Example:
97
97
@@ -109,9 +109,9 @@ For guidance on how to get an instance of ES and kibana running vist our doc on
109
109
senzing/elasticsearch
110
110
```
111
111
112
-
#### Using a database in a docker container
113
-
* ⚠️ **This section represents an example of how to connect to a database within a dockerfile but is not demonstratable with the current state of senzing-tools** ⚠️
114
-
1. Here we won't need to mount a database, instead we can set our `CONNECTION` string in the config json to the exposed ports of the container with the database. Example;
112
+
#### Using an external Senzing database
113
+
114
+
1. Here we won't need to mount a database, instead we can set our `CONNECTION` string in the config json to where the external database is. Example:
115
115
116
116
```console
117
117
export SENZING_ENGINE_CONFIGURATION_JSON='{
@@ -125,12 +125,7 @@ For guidance on how to get an instance of ES and kibana running vist our doc on
125
125
}
126
126
}'
127
127
```
128
-
1. Next we will start up a docker stack to initialize and load data into a database.
129
-
130
-
```console
131
-
cd {GIT_REPOSITORY_DIR}/elasticsearch
132
-
docker-compose up
133
-
```
128
+
134
129
1. Now we can run the container as part of the network that the ELK-stack is running in so that it can "see" the elasticsearch container. Example:
135
130
136
131
```console
@@ -159,4 +154,4 @@ For guidance on how to get an instance of ES and kibana running vist our doc on
159
154
* The `Name` field can be set but is not required.
160
155
161
156
5. Press "Save data view to Kibana" at the bottom of the screen, now can view the created index and do searches. If fuzzy searches are needed click on "Saved Query" and switch the language to lucene. [Here](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/query-dsl-query-string-query.html#query-string-fuzziness) you can view the lucene syntax and how to do fuzzy searches
0 commit comments