# TextFieldSchema

> **Class** in `langchain_aws`

📖 [View in docs](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/schema/TextFieldSchema)

Schema for text fields in Redis.

## Signature

```python
TextFieldSchema()
```

## Extends

- `InMemoryDBField`

## Properties

- `weight`
- `no_stem`
- `phonetic_matcher`
- `withsuffixtrie`
- `no_index`
- `sortable`

## Methods

- [`as_field()`](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/schema/TextFieldSchema/as_field)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-aws/blob/ea22fe3d744a3248b0b74ed555e9c34844b35a54/libs/aws/langchain_aws/vectorstores/inmemorydb/schema.py#L38)