You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ct...@apache.org on 2020/09/18 18:13:50 UTC

[lucene-solr] branch branch_8x updated: Ref Guide: escape non-attributes to avoid conversion warnings

This is an automated email from the ASF dual-hosted git repository.

ctargett pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 26cad28  Ref Guide: escape non-attributes to avoid conversion warnings
26cad28 is described below

commit 26cad28a5aeb516ef3dfcf48756bc37dfe8077a6
Author: Cassandra Targett <ca...@lucidworks.com>
AuthorDate: Fri Sep 18 13:09:54 2020 -0500

    Ref Guide: escape non-attributes to avoid conversion warnings
---
 solr/solr-ref-guide/src/the-query-elevation-component.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/solr/solr-ref-guide/src/the-query-elevation-component.adoc b/solr/solr-ref-guide/src/the-query-elevation-component.adoc
index 2c06628..a4ef4f5 100644
--- a/solr/solr-ref-guide/src/the-query-elevation-component.adoc
+++ b/solr/solr-ref-guide/src/the-query-elevation-component.adoc
@@ -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.