Skip to content

Commit 85bb38e

Browse files
committed
chore: Default configuration for the Search plugin
1 parent d38a6eb commit 85bb38e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

app-config.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,31 @@ kubernetes:
136136
permission:
137137
# setting this to `false` will disable permissions
138138
enabled: true
139+
140+
search:
141+
# collators:
142+
# catalog:
143+
# schedule: # same options as in SchedulerServiceTaskScheduleDefinition
144+
# # supports cron, ISO duration, "human duration" as used in code
145+
# initialDelay: { seconds: 90 }
146+
# # supports cron, ISO duration, "human duration" as used in code
147+
# frequency: { hours: 6 }
148+
# # supports ISO duration, "human duration" as used in code
149+
# timeout: { minutes: 3 }
150+
# techdocs:
151+
# schedule: # same options as in SchedulerServiceTaskScheduleDefinition
152+
# # supports cron, ISO duration, "human duration" as used in code
153+
# initialDelay: { seconds: 90 }
154+
# # supports cron, ISO duration, "human duration" as used in code
155+
# frequency: { hours: 6 }
156+
# # supports ISO duration, "human duration" as used in code
157+
# timeout: { minutes: 3 }
158+
pg:
159+
highlightOptions:
160+
useHighlight: true # Used to enable to disable the highlight feature. The default value is true
161+
maxWord: 35 # Used to set the longest headlines to output. The default value is 35.
162+
minWord: 15 # Used to set the shortest headlines to output. The default value is 15.
163+
shortWord: 3 # Words of this length or less will be dropped at the start and end of a headline, unless they are query terms. The default value of three (3) eliminates common English articles.
164+
highlightAll: false # If true the whole document will be used as the headline, ignoring the preceding three parameters. The default is false.
165+
maxFragments: 0 # Maximum number of text fragments to display. The default value of zero selects a non-fragment-based headline generation method. A value greater than zero selects fragment-based headline generation (see the linked documentation above for more details).
166+
fragmentDelimiter: ' ... ' # Delimiter string used to concatenate fragments. Defaults to " ... ".

0 commit comments

Comments
 (0)