项目作者: delin10

项目描述 :
常用业务代码整理
高级语言: Java
项目地址: git://github.com/delin10/business.git
创建时间: 2019-10-28T11:25:16Z
项目社区:https://github.com/delin10/business

开源协议:Apache License 2.0

下载


business

一、主要的两种过滤系统

1、正向匹配:ForwardMatchSensitiveFilter
2、基于分词:SegmentSensitiveFilter

二、三种常用的匹配算法

1、HashMap暴力匹配:AnotherHashMapMatcher
2、TierTree前缀树匹配:TierTreeMatcher
3、BloomFilter:BloomFilterMatcher | Redis Bloom Filter

三、推荐组合

SegmentSensitiveFilter + TierTreeMatcher > BloomFilterMatcher > AnotherHashMapMatcher

ForwardMatchSensitiveFilter + TierTreeMatcher > AnotherHashMapMatcher > BloomFilterMatcher