{"id":13753806,"url":"https://github.com/mattico/elasticlunr-rs","last_synced_at":"2025-12-12T15:35:31.118Z","repository":{"id":26805972,"uuid":"105381907","full_name":"mattico/elasticlunr-rs","owner":"mattico","description":"A partial port of elasticlunr to Rust. Intended to be used for generating compatible search indices.","archived":false,"fork":false,"pushed_at":"2025-03-21T02:20:22.000Z","size":410,"stargazers_count":56,"open_issues_count":7,"forks_count":23,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-11T03:03:33.763Z","etag":null,"topics":["elasticlunr","indexing","lunr","rust","search"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattico.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-30T16:05:07.000Z","updated_at":"2025-07-01T17:28:56.000Z","dependencies_parsed_at":"2024-06-19T00:03:24.765Z","dependency_job_id":"116fc0e8-bfa0-4515-99ce-eeeae44539f7","html_url":"https://github.com/mattico/elasticlunr-rs","commit_stats":{"total_commits":185,"total_committers":20,"mean_commits":9.25,"dds":"0.21081081081081077","last_synced_commit":"29d97e4c8e91bb0d1813716fb2d1575066344d76"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/mattico/elasticlunr-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattico%2Felasticlunr-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattico%2Felasticlunr-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattico%2Felasticlunr-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattico%2Felasticlunr-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattico","download_url":"https://codeload.github.com/mattico/elasticlunr-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattico%2Felasticlunr-rs/sbom","scorecard":{"id":627304,"data":{"date":"2025-08-11","repo":{"name":"github.com/mattico/elasticlunr-rs","commit":"4db7fac70fa4d6281bf527d9fae07f5a2169f252"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":3,"reason":"Found 4/13 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mattico/elasticlunr-rs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mattico/elasticlunr-rs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/mattico/elasticlunr-rs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/mattico/elasticlunr-rs/ci.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/fuzz_en.rs:4"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T06:51:02.690Z","repository_id":26805972,"created_at":"2025-08-21T06:51:02.690Z","updated_at":"2025-08-21T06:51:02.690Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27685559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elasticlunr","indexing","lunr","rust","search"],"created_at":"2024-08-03T09:01:30.046Z","updated_at":"2025-12-12T15:35:31.082Z","avatar_url":"https://github.com/mattico.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# elasticlunr-rs \n\n![Build Status](https://github.com/mattico/elasticlunr-rs/workflows/CI/badge.svg)\n[![Documentation](https://docs.rs/elasticlunr-rs/badge.svg)](https://docs.rs/elasticlunr-rs)\n[![Crates.io](https://img.shields.io/crates/v/elasticlunr-rs.svg)](https://crates.io/crates/elasticlunr-rs)\n![Maintenance](https://img.shields.io/badge/Maintenance-Passive-yellow)\n![MSRV](https://img.shields.io/badge/MSRV-1.60.0-orange)\n\nA partial port of [elasticlunr.js][eljs] to Rust. Intended to be used for generating compatible search indices.\n\nThis library is passively maintained to support existing users. New users are encouraged to use a different library such as [tinysearch](https://github.com/tinysearch/tinysearch) or [Pagefind](https://pagefind.app/).\n\n## Example\n\n```Rust\nuse std::fs::File;\nuse std::io::Write;\nuse elasticlunr::Index;\n\nlet mut index = Index::new(\u0026[\"title\", \"body\"]);\nindex.add_doc(\"1\", \u0026[\"This is a title\", \"This is body text!\"]);\n// Add more documents...\nlet mut file = File::create(\"out.json\").unwrap();\nfile.write_all(index.to_json_pretty().as_bytes());\n```\n\n## Minimum Supported Rust Version\n\n1.60.0\n\nChanging the minimum supported Rust version is not considered a breaking change for semver purposes.\n\nThe supported version is constrained by the version supported by our transitive dependencies. Earlier rustc versions may\nwork if you have older versions of these in your `Cargo.lock`, but this is not tested.\n\n## Languages\n\nThis library includes optional support for non-English languages, see the features in `Cargo.toml`. Like in the JavaScript\nversion, the language support is designed to be compatible with the [lunr-languages plugins][lunr-languages]. Some\nlanguages use a modified version, which is included in the `js` directory of the repository.\n\n## License\n\nThis repository is offered under the terms of the\n\n- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)\n\nat your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted \nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\nIncludes code ported from [elasticlunr.js][eljs] Copyright (C) 2017 by Wei Song, \nused under license. See LICENSE-JS for details.\n\nIncludes stop word lists ported from [stopwords-filter][swft] Copyright (C) 2012 \nDavid J. Brenes, used under license. See LICENSE-WORDS for details.\n\nBundled javascript code in the repository (not included in the cargo package) may have other licenses.\n\n[lunr-languages]: https://github.com/MihaiValentin/lunr-languages\n[eljs]: https://github.com/weixsong/elasticlunr.js\n[swft]: https://github.com/brenes/stopwords-filter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattico%2Felasticlunr-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattico%2Felasticlunr-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattico%2Felasticlunr-rs/lists"}