Skip to content

Commit

Permalink
Added elasticsearch config documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayuei committed Jun 27, 2023
1 parent e14c1a2 commit 9efca4c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/debeir/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ def validate(self):
class ElasticsearchConfig(Config):
"""
Basic Elasticsearch configuration file settings from the master nir.toml file
Attributes:
protool (int): https or http.
ip: IP address of the elasticsearch index/cluster.
port: port of the elasticsearch index
timeout: the maximum time to wait for a request to finish. Recommended to set to 10 minutes, as dense retrieval is an expensive operation.
"""
protocol: str
ip: str
Expand Down

0 comments on commit 9efca4c

Please sign in to comment.