Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter represents a japanese token filter.
func NewFilter ¶
func NewFilter(opts ...FilterOption) (*Filter, error)
NewFilter returns a filter with the settings commonly used in lucene. To customize, set the options and overwrite the filter.
type FilterOption ¶
type FilterOption func(*Filter)
FilterOption represents an option of the japanese token filter.
func BaseFormFilterOption ¶
func BaseFormFilterOption(p []filter.POS) FilterOption
BaseFormFilterOption returns a base form filter option.
func StopTagsFilterOption ¶
func StopTagsFilterOption(p []filter.POS) FilterOption
StopTagsFilterOption returns a stop tags filter option.
func StopWordsFilterOption ¶
func StopWordsFilterOption(p []string) FilterOption
StopWordsFilterOption returns a stop words filter option.
Click to show internal directories.
Click to hide internal directories.