drop.asciidoc 562 B

1234567891011121314151617181920212223242526
  1. [[drop-processor]]
  2. === Drop processor
  3. ++++
  4. <titleabbrev>Drop</titleabbrev>
  5. ++++
  6. Drops the document without raising any errors. This is useful to prevent the document from
  7. getting indexed based on some condition.
  8. [[drop-options]]
  9. .Drop Options
  10. [options="header"]
  11. |======
  12. | Name | Required | Default | Description
  13. include::common-options.asciidoc[]
  14. |======
  15. [source,js]
  16. --------------------------------------------------
  17. {
  18. "drop": {
  19. "if" : "ctx.network_name == 'Guest'"
  20. }
  21. }
  22. --------------------------------------------------
  23. // NOTCONSOLE