Explorar o código

Use a literal block in the field data docs. (#46469)

Currently we use `quote`, which renders a bit strangely on the website.
Julie Tibshirani %!s(int64=6) %!d(string=hai) anos
pai
achega
c8fca03e2d
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      docs/reference/mapping/params/fielddata.asciidoc

+ 1 - 3
docs/reference/mapping/params/fielddata.asciidoc

@@ -31,12 +31,10 @@ why fielddata is disabled by default.
 If you try to sort, aggregate, or access values from a script on a `text`
 field, you will see this exception:
 
-[quote]
---
+[literal]
 Fielddata is disabled on text fields by default.  Set `fielddata=true` on
 [`your_field_name`] in order to load  fielddata in memory by uninverting the
 inverted index. Note that this can however use significant memory.
---
 
 [[before-enabling-fielddata]]
 ==== Before enabling fielddata