We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaa05fe commit c447fc2Copy full SHA for c447fc2
docs/reference/ingest/ingest-node.asciidoc
@@ -1260,6 +1260,21 @@ Reference key modifier example
1260
* error = REFUSED
1261
|======
1262
1263
+[[drop-processor]]
1264
+=== Drop Processor
1265
+Drops the document without raising any errors. This is useful to prevent the document from
1266
+getting indexed based on some condition.
1267
+
1268
+[source,js]
1269
+--------------------------------------------------
1270
+{
1271
+ "drop": {
1272
+ "if" : "ctx.network_name == 'Guest'"
1273
+ }
1274
+}
1275
1276
+// NOTCONSOLE
1277
1278
[[dot-expand-processor]]
1279
=== Dot Expander Processor
1280
0 commit comments