---
name: "Search::Elasticsearch::Cxn::Factory"
section: "3pm"
platform: "linux"
package: "libsearch-elasticsearch-perl"
version: "8.12-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Search::Elasticsearch::Cxn::Factory"
---

# Search::Elasticsearch::Cxn::Factory(3pm)

Used by CxnPools to create new Cxn instances.

## NAME

Search::Elasticsearch::Cxn::Factory - Used by CxnPools to create new Cxn instances.

## VERSION

version 8.12

## DESCRIPTION

This class is used by the Search::Elasticsearch::Role::CxnPool implementations to create new Search::Elasticsearch::Role::Cxn-based instances. It holds on to all the configuration options passed to "**new()**" in Elasticsearch so that new Cxns can use them.

It contains no user serviceable parts.

## AUTHOR

Enrico Zimuel \<enrico.zimuel@elastic.co\>

## COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Elasticsearch BV.

This is free software, licensed under:

```
  The Apache License, Version 2.0, January 2004
```
