Interface TextTokenizerFactory

    • Method Detail

      • getName

        @Nonnull
        String getName()
        Get the unique name for the text tokenizer. This is the name that should be included in the index meta-data in order to indicate that this tokenizer should be used within a certain index.
        Returns:
        the name of the tokenizer that this factory creates
      • getTokenizer

        @Nonnull
        TextTokenizer getTokenizer()
        Get an instance of the text tokenizer. For a given factory, each tokenizer should be of the same type, and it should match the result of getName().
        Returns:
        an instance of the tokenizer that this factory creates