AnalyzerBuilder

textmogrify.lucene.AnalyzerBuilder
See theAnalyzerBuilder companion object
sealed abstract class AnalyzerBuilder

Build an Analyzer or tokenizer function

Attributes

Companion
object
Source
AnalyzerBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Types

Attributes

Source
AnalyzerBuilder.scala

Value members

Abstract methods

def build[F[_]](implicit F: Sync[F]): Resource[F, Analyzer]

Build the Analyzer wrapped inside a Resource.

Build the Analyzer wrapped inside a Resource.

Attributes

Source
AnalyzerBuilder.scala

A convenience value for debugging or investigating, to inspect the Lucene default stop words.

A convenience value for debugging or investigating, to inspect the Lucene default stop words. This set is immutable, and unused; it is the underlying Lucene CharArraySet that we use to build the default StopFilter

Attributes

Source
AnalyzerBuilder.scala
def withConfig(config: Config): Builder

Attributes

Source
AnalyzerBuilder.scala

Concrete methods

def tokenizer[F[_]](implicit F: Sync[F]): Resource[F, String => F[Vector[String]]]

Build a tokenizing function that uses the Analyzer and collects tokens in a vector

Build a tokenizing function that uses the Analyzer and collects tokens in a vector

Attributes

Source
AnalyzerBuilder.scala

Adds an ASCII folding stage to the analyzer pipeline ASCII folding converts alphanumeric and symbolic Unicode characters into their ASCII equivalents, if one exists.

Adds an ASCII folding stage to the analyzer pipeline ASCII folding converts alphanumeric and symbolic Unicode characters into their ASCII equivalents, if one exists.

Attributes

Source
AnalyzerBuilder.scala

Adds a stop filter stage to analyzer pipeline for non-empty sets.

Adds a stop filter stage to analyzer pipeline for non-empty sets.

Attributes

Source
AnalyzerBuilder.scala

Adds a lowercasing stage to the analyzer pipeline

Adds a lowercasing stage to the analyzer pipeline

Attributes

Source
AnalyzerBuilder.scala