Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2 Define Default Search Arguments In Config #9

Merged
merged 11 commits into from
Aug 8, 2024

Conversation

ezrasingh
Copy link
Owner

Description

This PR defines default search arguments in the configuration file, for default_count and default_sorted.

Key Changes:

  • Updated the configuration schema to include the parameters default_count and default_sorted.
  • Adjusted documentation to reflect these default settings and their effects.

Usage

# geoprox.toml - configuration
# ... 

[shard]
# Determines the default geohash length for inserts
insert_depth = 6
# Determines the default geohash length for searches
search_depth = 6
# Specifies the default number of results returned in range queries
default_count = 100
# Toggles the default sorting behavior for query results
default_sorted = false

I also included documentation on fine-tuning insert_depth, search_depth, and other related parameters for search optimization.

@ezrasingh ezrasingh added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 8, 2024
@ezrasingh ezrasingh added this to the v1.0.0 milestone Aug 8, 2024
@ezrasingh ezrasingh self-assigned this Aug 8, 2024
@ezrasingh ezrasingh linked an issue Aug 8, 2024 that may be closed by this pull request
@ezrasingh ezrasingh changed the title 2 define default search arguments in config #2 Define Default Search Arguments In Config Aug 8, 2024
@ezrasingh ezrasingh merged commit caaedbf into main Aug 8, 2024
6 checks passed
@ezrasingh ezrasingh deleted the 2-define-default-search-arguments-in-config branch August 8, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Define Default Search Arguments In Config
1 participant