-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cleanup scan config options. Mark it experimental. #4564
Conversation
c923831
to
ca77f32
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed a typo that needed fixing, so I went ahead and suggested a few minor edits, too.
|
||
If you specify a value other than none for this setting you can determine whether to use ascending or descending order using `scan.order`. | ||
Specifies if files should be harvested in order and how to determine the order. Possible values are `modtime`, `filename`. Leaving the option empty means its disabled. To sort by file modification time use modtime otherwise use filename. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Starting with the 2nd sentence, change to say:
Possible values are modtime
and filename
. To sort by file modification time, use modtime
, otherwise use filename
. Leave this option empty to disable it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
|
||
The default setting is none. | ||
If you specify a value for this setting you can determine whether to use ascending or descending order using `scan.order`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to say: If you specify a value for this setting, you can use scan.order
to configure whether files are scanned in ascending or descending order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
Specifies ascending or descending order if `scan.sort` is set to a value other than none. Possible values are asc or desc. | ||
[]experimental | ||
|
||
Specifies ascending or descending order if `scan.sort` is set to a value other than none. Possible values are `asc` or `desc`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to say: Specifies whether to use ascending or descending order when scan.sort
is set to a value other than none.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ccc7aca
to
5ee8cd4
Compare
|
||
If you specify a value other than none for this setting you can determine whether to use ascending or descending order using `scan.order`. | ||
If you specify a value other than none for this setting you can determine whether to use ascending or descending order using `scan.order`. Possible values are `modtime` and `filename`. To sort by file modification time, use `modtime`, otherwise use `filename`. Leave this option empty to disable it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"other than none" is confusing here, because it used to be the string "none" and now it's the empty string, right? I suggest "other than the empty string".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, change it.
Follow up PR from elastic#4374.
5ee8cd4
to
a8f1de4
Compare
Follow up PR from #4374.