balazs
balazs

Reputation: 520

Access token attribute in similarity class

How would would one access a token attribute of a term in a custom implementation of the similarity class?

Upvotes: 1

Views: 76

Answers (1)

balazs
balazs

Reputation: 520

The ComputeNorm(...) method in the Similarity class has a FieldInvertState parameter that has an AttributeSource property that should do the trick.

Upvotes: 1

Related Questions