setReusableComponents

open override fun setReusableComponents(analyzer: Analyzer, fieldName: String, components: Analyzer.TokenStreamComponents)

Stores the given TokenStreamComponents as the reusable components for the field with the give name.

Parameters

fieldName

Name of the field whose TokenStreamComponents are being set

components

TokenStreamComponents which are to be reused for the field