﻿---
title: assembler bloom-filter create cli command
description: Generates a bloom filter that gets embedded into the docs-builder binary. This bloom filter is used to determine whether a document's mapped_page frontmatter...
url: https://docs-v3-preview.elastic.dev/docs-builder/cli/assembler/bloom-filter/create
products:
  - Elastic Docs Builder
---

# assembler bloom-filter create cli command
```bash
docs-builder assembler bloom-filter create --built-docs-dir <dir>
```

Generates a bloom filter that gets embedded into the `docs-builder` binary.
This bloom filter is used to determine whether a document's `mapped_page` frontmatter field exists in the [legacy-url-mappings](https://docs-v3-preview.elastic.dev/docs-builder/configure/site/legacy-url-mappings) project. The result controls how the document history selector is populated.

## Options

<definitions>
  <definition term="--built-docs-dir string required">
    Path to the local legacy-docs repository checkout.
    **Constraints:** symbolic links not allowed, must exist, supports `~` home expansion
  </definition>
  <definition term="-l --log-level enum">
    Minimum log level.
    **Values:** trace, debug, information, warning, error, critical, none
    **Default:** `information`
  </definition>
  <definition term="-c --config-source enum">
    Override the configuration source: local, remote
    **Values:** local, remote, embedded
  </definition>
  <definition term="--[no-]skip-private-repositories">
    Skip cloning private repositories
  </definition>
</definitions>