Skip to content
Snippets Groups Projects
Unverified Commit 0513c193 authored by Patrick Marsceill's avatar Patrick Marsceill Committed by GitHub
Browse files

Tweak search to make it less bulky

parent 1f30d6bf
No related branches found
Tags v0.3.2
No related merge requests found
...@@ -41,13 +41,13 @@ search: ...@@ -41,13 +41,13 @@ search:
heading_level: 2 heading_level: 2
# Maximum amount of previews per search result # Maximum amount of previews per search result
# Default: 3 # Default: 3
previews: 3 previews: 2
# Maximum amount of words to display before a matched word in the preview # Maximum amount of words to display before a matched word in the preview
# Default: 5 # Default: 5
preview_words_before: 5 preview_words_before: 3
# Maximum amount of words to display after a matched word in the preview # Maximum amount of words to display after a matched word in the preview
# Default: 10 # Default: 10
preview_words_after: 10 preview_words_after: 3
# Set the search token separator # Set the search token separator
# Default: /[\s\-/]+/ # Default: /[\s\-/]+/
# Example: enable support for hyphenated search words # Example: enable support for hyphenated search words
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment