---
name: "TM::Index::Characteristics"
section: "3pm"
platform: "linux"
package: "libtm-perl"
version: "1.56-7"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/TM::Index::Characteristics"
---

# TM::Index::Characteristics(3pm)

Topic Maps, Indexing support (match layer)

## NAME

TM::Index::Characteristics - Topic Maps, Indexing support (match layer)

## SYNOPSIS

```
    # somehow get a map (any subclass of TM will do)
    my $tm = ...
    # one option: create a lazy index which learns as you go
    use TM::Index::Characteristics;
    my $idx = new TM::Index::Characteristics ($tm);

    # for most operations which involve match_forall to be called
    # for querying characteristics should be much faster
```

## DESCRIPTION

This index can be attached to a map if querying it for characteristics (here names and occurrences) is intensive.

The package inherits most of its functionality from TM::Index.

## INTERFACE

### Constructor

The constructor/destructor is inherited from TM::Index.

### Methods

## SEE ALSO

TM, TM::Index

## COPYRIGHT AND LICENSE

Copyright 200\[6\] by Robert Barta, \<drrho@cpan.org\>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
