---
title: kLSMMapDiscardCounts
framework: Latent Semantic Mapping
role: symbol
role_heading: Global Variable
path: latentsemanticmapping/klsmmapdiscardcounts
---

# kLSMMapDiscardCounts

An option that specifies not to keep counts.

## Declaration

```swift
var kLSMMapDiscardCounts: Int { get }
```

## Discussion

Discussion If you specify this option when loading the map, you must reload the map without this option before calling LSMMapStartTraining(_:). If you specify this option when storing the map, the stored map can’t be retrained at all. This option can save a lot of memory or disk space.

## See Also

### Constants

- [kLSMMapLoadMutable](latentsemanticmapping/klsmmaploadmutable.md)
- [kLSMMapHashText](latentsemanticmapping/klsmmaphashtext.md)
