Ref Guide: escape non-attributes to avoid conversion warnings

This commit is contained in:
Cassandra Targett 2020-09-18 13:09:54 -05:00
parent 208a1c07b0
commit 4ed7c13c86
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ Specifies which fieldType should be used to analyze the incoming text. For examp
</fieldType>
----
For example, to unescape only non-alphanumeric, the pattern could be `\\([^\p{IsAlphabetic}\p{Digit}])`.
// NOTE: {IsAlphabetic} and {Digit} below are escaped with '\' so Asciidoctor does not treat them as attributes during conversion to HTML.
For example, to unescape only non-alphanumeric, the pattern could be `\\([^\p\{IsAlphabetic}\p\{Digit}])`.
`config-file`::
Path to the file that defines query elevation. This file must exist in `<instanceDir>/conf/<config-file>` or `<dataDir>/<config-file>`. If the file exists in the `conf/` directory it will be loaded once at startup. If it exists in the `data/` directory, it will be reloaded for each IndexReader.