-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ Powering static site search with InfiSearch is extremely easy, and requires just | |
|
||
### 1. Installing the indexer | ||
|
||
If you have the rust / cargo toolchains setup, simply run `cargo install infisearch --vers 0.8.3`. | ||
If you have the rust / cargo toolchains setup, simply run `cargo install infisearch --vers 0.8.4`. | ||
|
||
Alternatively, download the cli binaries [here](https://github.com/ang-zeyu/infisearch/releases). | ||
|
||
|
@@ -42,9 +42,9 @@ Add the following resources to your pages: | |
|
||
```html | ||
<!-- Search UI script --> | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui.ascii.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui.ascii.bundle.js"></script> | ||
<!-- Search UI css, this provides some basic styling for the search dropdown, and can be omitted if desired --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui-light.css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui-light.css" /> | ||
``` | ||
|
||
If you wish to host the files, you can find them in the `<output-folder-path>/assets` directory generated by the indexer, or in the [releases](https://github.com/ang-zeyu/infisearch/releases) page. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ This page assumes the use case of a **static site**, that is: | |
|
||
## Installing the indexer | ||
|
||
If you have the rust / cargo toolchains setup, simply run `cargo install infisearch --vers 0.8.3`. | ||
If you have the rust / cargo toolchains setup, simply run `cargo install infisearch --vers 0.8.4`. | ||
|
||
Alternatively, download the cli binaries [here](https://github.com/ang-zeyu/infisearch/releases). | ||
|
||
|
@@ -38,12 +38,12 @@ If you are using the binaries, replace `infisearch` with the appropriate executa | |
### Installation via CDN | ||
|
||
```html | ||
<!-- Replace "v0.8.3" as appropriate --> | ||
<!-- Replace "v0.8.4" as appropriate --> | ||
|
||
<!-- Search UI script --> | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui.ascii.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui.ascii.bundle.js"></script> | ||
<!-- Search UI css, this provides some basic styling for the search dropdown, and can be omitted if desired --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui-light.css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui-light.css" /> | ||
``` | ||
|
||
> ⚠️ Ensure the versions here **match the indexer version** used exactly. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ An [asciiFoldingFilter](https://github.com/tantivy-search/tantivy/blob/main/src/ | |
**CDN Link** | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui.ascii.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui.ascii.bundle.js"></script> | ||
``` | ||
|
||
## Latin Tokenizer | ||
|
@@ -60,7 +60,7 @@ If you do not need stemming, use the `ascii` tokenizer, which has a smaller wasm | |
**CDN Link** | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui.latin.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui.latin.bundle.js"></script> | ||
``` | ||
|
||
## Chinese Tokenizer | ||
|
@@ -83,7 +83,7 @@ You are highly recommended to keep positions indexed and query term proximity ra | |
**CDN Link** | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui.chinese.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui.chinese.bundle.js"></script> | ||
``` | ||
|
||
## Stop Words | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,8 @@ Head on over to the demo site [here](https://infi-search.com) to try them out! | |
#### CDN link | ||
|
||
```html | ||
<!-- Replace "v0.8.3" as appropriate --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui-light.css" /> | ||
<!-- Replace "v0.8.4" as appropriate --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui-light.css" /> | ||
``` | ||
|
||
#### Preview | ||
|
@@ -46,8 +46,8 @@ Head on over to the demo site [here](https://infi-search.com) to try them out! | |
#### CDN link | ||
|
||
```html | ||
<!-- Replace "v0.8.3" as appropriate --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui-basic.css" /> | ||
<!-- Replace "v0.8.4" as appropriate --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui-basic.css" /> | ||
``` | ||
|
||
<div class="image-container"> | ||
|
@@ -60,8 +60,8 @@ Head on over to the demo site [here](https://infi-search.com) to try them out! | |
#### CDN link | ||
|
||
```html | ||
<!-- Replace "v0.8.3" as appropriate --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].3/packages/search-ui/dist/search-ui-dark.css" /> | ||
<!-- Replace "v0.8.4" as appropriate --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ang-zeyu/[email protected].4/packages/search-ui/dist/search-ui-dark.css" /> | ||
``` | ||
|
||
#### Preview | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
"packages/search-ui", | ||
"packages/infisearch_search/pkg/*" | ||
], | ||
"version": "0.8.3" | ||
"version": "0.8.4" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "infisearch" | ||
version = "0.8.3" | ||
version = "0.8.4" | ||
authors = ["Ze Yu <[email protected]>"] | ||
edition = "2018" | ||
description = "A complete and more scalable pre-built index approach to client-side search." | ||
|
@@ -32,10 +32,10 @@ glob = "0.3" | |
lazy_static = "1.4" | ||
log = { version = "0.4", features = ["max_level_info", "release_max_level_info"] } | ||
log4rs = "1.0" | ||
infisearch_common = { path = "../infisearch_common", version="=0.8.3", features = ["indexer"] } | ||
infisearch_lang_ascii = { path = "../infisearch_languages/infisearch_lang_ascii", version="=0.8.3", features = ["indexer"] } | ||
infisearch_lang_latin = { path = "../infisearch_languages/infisearch_lang_latin", version="=0.8.3", features = ["indexer"] } | ||
infisearch_lang_chinese = { path = "../infisearch_languages/infisearch_lang_chinese", version="=0.8.3", features = ["indexer"] } | ||
infisearch_common = { path = "../infisearch_common", version="=0.8.4", features = ["indexer"] } | ||
infisearch_lang_ascii = { path = "../infisearch_languages/infisearch_lang_ascii", version="=0.8.4", features = ["indexer"] } | ||
infisearch_lang_latin = { path = "../infisearch_languages/infisearch_lang_latin", version="=0.8.4", features = ["indexer"] } | ||
infisearch_lang_chinese = { path = "../infisearch_languages/infisearch_lang_chinese", version="=0.8.4", features = ["indexer"] } | ||
num_cpus = "1" | ||
path-absolutize = { version = "3.0", features = ["lazy_static_cache"] } | ||
pathdiff = "0.2" | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "infisearch_common" | ||
version = "0.8.3" | ||
version = "0.8.4" | ||
authors = ["Ze Yu <[email protected]>"] | ||
edition = "2018" | ||
description = "Internal library for other InfiSearch packages." | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "infisearch_lang_ascii" | ||
version = "0.8.3" | ||
version = "0.8.4" | ||
authors = ["Ze Yu <[email protected]>"] | ||
edition = "2018" | ||
description = "Basic ascii tokenizer for InfiSearch." | ||
|
@@ -14,6 +14,6 @@ indexer = ["lazy_static", "regex"] | |
|
||
[dependencies] | ||
lazy_static = { version = "1.4", optional = true } | ||
infisearch_common = { path = "../../infisearch_common", version="=0.8.3" } | ||
infisearch_common = { path = "../../infisearch_common", version="=0.8.4" } | ||
regex = { version = "1", optional = true } | ||
smartstring = "0.2.7" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "infisearch_lang_chinese" | ||
version = "0.8.3" | ||
version = "0.8.4" | ||
authors = ["Ze Yu <[email protected]>"] | ||
edition = "2018" | ||
description = "Chinese tokenizer for InfiSearch." | ||
|
@@ -13,8 +13,8 @@ license = "MIT" | |
indexer = ["regex"] | ||
|
||
[dependencies] | ||
infisearch_common = { path = "../../infisearch_common", version="=0.8.3" } | ||
infisearch_lang_ascii = { path = "../infisearch_lang_ascii", version="=0.8.3" } | ||
infisearch_common = { path = "../../infisearch_common", version="=0.8.4" } | ||
infisearch_lang_ascii = { path = "../infisearch_lang_ascii", version="=0.8.4" } | ||
lazy_static = { version = "1.4" } | ||
regex = { version = "1", optional = true } | ||
smartstring = "0.2.7" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "infisearch_lang_latin" | ||
version = "0.8.3" | ||
version = "0.8.4" | ||
authors = ["Ze Yu <[email protected]>"] | ||
edition = "2018" | ||
description = "Ascii tokenizer with stemmers for InfiSearch." | ||
|
@@ -13,7 +13,7 @@ license = "MIT" | |
indexer = [] | ||
|
||
[dependencies] | ||
infisearch_common = { path = "../../infisearch_common", version="=0.8.3" } | ||
infisearch_lang_ascii = { path = "../infisearch_lang_ascii", version="=0.8.3" } | ||
infisearch_common = { path = "../../infisearch_common", version="=0.8.4" } | ||
infisearch_lang_ascii = { path = "../infisearch_lang_ascii", version="=0.8.4" } | ||
rust-stemmers = "^1.0" | ||
smartstring = "0.2.7" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "infisearch_search" | ||
version = "0.8.3" | ||
version = "0.8.4" | ||
authors = ["Ze Yu <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"collaborators": [ | ||
"Ze Yu <[email protected]>" | ||
], | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"files": [ | ||
"index_bg.wasm", | ||
"index.js", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"collaborators": [ | ||
"Ze Yu <[email protected]>" | ||
], | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"files": [ | ||
"index_bg.wasm", | ||
"index.js", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"collaborators": [ | ||
"Ze Yu <[email protected]>" | ||
], | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"files": [ | ||
"index_bg.wasm", | ||
"index.js", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "mdbook-infisearch" | ||
version = "0.8.3" | ||
version = "0.8.4" | ||
authors = ["Ze Yu <[email protected]>"] | ||
edition = "2018" | ||
description = "InfiSearch plugin for Mdbook." | ||
|
@@ -16,7 +16,7 @@ include = ["/src", "mark.min.js", "default_infi_search.json"] | |
anyhow = "1.0" | ||
clap = "2.0" | ||
mdbook = "0.4.21" | ||
infisearch = { path = "../infisearch", version="=0.8.3" } | ||
infisearch = { path = "../infisearch", version="=0.8.4" } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
toml = "0.5" | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.