1. 首页
  2. 数据库
  3. 其它
  4. lunr.js:有点像Solr但是小得多但不那么明亮 源码

lunr.js:有点像Solr但是小得多但不那么明亮 源码

上传者: 2021-02-08 21:47:17上传 ZIP文件 229.48KB 热度 8次
Lunr.js 有点像Solr,但是小得多而不是那么亮。 例 可以使用以下方法创建非常简单的搜索索引: var idx = lunr ( function ( ) { this . field ( 'title' ) this . field ( 'body' ) this . add ( { "title" : "Twelfth-Night" , "body" : "If music be the food of love, play on: Give me excess of it..." , "author" : "William Shakespear
下载地址
用户评论