|
@@ -743,3 +743,11 @@ The script inside a `script` query can only access doc values fields. The `perco
|
|
|
into an in-memory index. This in-memory index doesn't support stored fields and because of that the `_source` field and
|
|
|
other stored fields are not stored. This is the reason why in the `script` query the `_source` and other stored fields
|
|
|
aren't available.
|
|
|
+
|
|
|
+[float]
|
|
|
+===== Field aliases
|
|
|
+
|
|
|
+Percolator queries that contain <<alias, field aliases>> may not always behave as expected. In particular, if a
|
|
|
+percolator query is registered that contains a field alias, and then that alias is updated in the mappings to refer
|
|
|
+to a different field, the stored query will still refer to the original target field. To pick up the change to
|
|
|
+the field alias, the percolator query must be explicitly reindexed.
|