import { FilterQL } from "filterql" // The schema determines what fields are allowed in the query const schema = { title: { type: "string", alias: "t" }, year: { type: "number", alias: "y" }, monitored: { type: "boolean", alias: "m" }, rating: { type: "number" }, genre: { type: "string" }, } const filterql = new FilterQL({ schema }) const movies = [ { title: "The Matrix", year: 1999, monitored: tr
Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure. Pagefind works with any static HTML output. All static site generators and website frameworks are supported, as long as the built HTML contains the content of the website. After indexing, Pagefind adds a static searc
MiniSearch is a tiny but powerful in-memory fulltext search engine written in JavaScript. It is respectful of resources, and it can comfortably run both in Node and in the browser. Try out the demo application. Find the complete documentation and API reference here, and more background about MiniSearch, including a comparison with other similar libraries, in this blog post. MiniSearch follows sema
uFuzzy is a fuzzy search library designed to match a relatively short search phrase (needle) against a large list of short-to-medium phrases (haystack). It might be best described as a more forgiving String.includes(). Common applications include list filtering, auto-complete/suggest, and searches for titles, names, descriptions, filenames, and functions. In uFuzzy's default MultiInsert mode, each
// Load wink-bm25-text-search var bm25 = require( 'wink-bm25-text-search' ); // Create search engine's instance var engine = bm25(); // Load sample data (load any other JSON data instead of sample) var docs = require( 'wink-bm25-text-search/sample-data/demo-data-for-wink-bm25.json' ); // Load wink nlp and its model const winkNLP = require( 'wink-nlp' ); // Use web model const model = require( 'win
Js Search enables efficient client-side searches of JavaScript and JSON objects. It is ES5 compatible and does not require jQuery or any other third-party libraries. Js Search began as a lightweight implementation of Lunr JS, offering runtime performance improvements and a smaller file size. It has since expanded to include a rich feature set- supporting stemming, stop-words, and TF-IDF ranking. H
Getting Started Open your browser's developer tools on this page to follow along or you could use Node.js to try in different way. A very simple search index can be created using the following scripts: var index = elasticlunr(function () { this.addField('title'); this.addField('body'); this.setRef('id'); }); Adding documents to the index is as simple as: var doc1 = { "id": 1, "title": "Oracle rele
Prototype.jsのコードを見つけるgrep的な検索ツールを書きました。 azu/search-prototype.js: Search usage of prototype.js in your codes. redmind 2.0のコードからprototype.jsを利用してる箇所を検索してる様子 使い方 使い方はものすごい単純で、インストールして、検索したいファイルパスを渡すだけです。 npm install search-prototype.js -g search-prototype.js ./public/javascripts/application.js 標準出力に検索結果が流れてきます。 検出するAPIの定義はAPIリファレンスのサジェストファイルから取ってきています。 http://api.prototypejs.org/javascripts/pdoc/item
Fuse.js Lightweight fuzzy-search library, with zero dependencies. Trusted by teams at Google, Microsoft, Anthropic, Atlassian, Spotify, MongoDB, Vercel, Adobe, Signal, HashiCorp, SAP, IBM, Nvidia, Grafana, Elastic, Datadog, PostHog, Mapbox, and more. jsimport Fuse from 'fuse.js' const books = [ { title: "Old Man's War", author: 'John Scalzi' }, { title: 'The Lock Artist', author: 'Steve Hamilton'
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く