前端搜索JS库 Elasticlunr.js

Elasticlunr.js是一个基于Javascript的轻量级全文搜索引擎,适用于浏览器和离线搜索。它在Lunr.js基础上进行了扩展,提供了字段搜索、查询时加权和与Elasticsearch相似的评分机制。主要特点包括查询时加权、更合理的评分机制、字段搜索、布尔模型以及快速和小巧的索引文件,适合于静态网页、离线搜索和资源有限的环境。

有Github账号的小伙伴们,帮忙点赞啦(Star)

本人写了一个JS的离线搜索库,支持Field search, 采用BM25模型进行Ranking, Ranking的算法和Elasticsearch一样的,效果比lunr.js有很高提升, 希望小伙伴们能够给与肯定,帮忙点赞。点击下面的链接哦。

Elasticlunr.js

这里写图片描述

Elasticlunr.js is a lightweight full-text search engine in Javascript for browser search and offline search. Elasticlunr.js is developed based on Lunr.js, but more flexible than lunr.js. Elasticlunr.js provides Query-Time boosting and field search. Elasticlunr.js is a bit like Solr, but much smaller and not as bright, but also provide flexible configuration and query-time boosting.

Elasticlunr.js is developed based on lunr.js, but more flexible than lunr.js. The main featues are as followings:

  1. Query-Time boosting, you don’t need to setup boosting weight in index building procedure, this make it more fle
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值