We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9a380c commit aed947fCopy full SHA for aed947f
docs/reference/ingest/ingest-node.asciidoc
@@ -1242,6 +1242,21 @@ Reference key modifier example
1242
* error = REFUSED
1243
|======
1244
1245
+[[drop-processor]]
1246
+=== Drop Processor
1247
+Drops the document without raising any errors. This is useful to prevent the document from
1248
+getting indexed based on some condition.
1249
+
1250
+[source,js]
1251
+--------------------------------------------------
1252
+{
1253
+ "drop": {
1254
+ "if" : "ctx.network_name == 'Guest'"
1255
+ }
1256
+}
1257
1258
+// NOTCONSOLE
1259
1260
[[dot-expand-processor]]
1261
=== Dot Expander Processor
1262
0 commit comments