mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2025-12-27 04:29:58 +00:00
update links (#1176)
This commit is contained in:
@@ -118,7 +118,7 @@ Tantivy 0.12.0
|
|||||||
## How to update?
|
## How to update?
|
||||||
|
|
||||||
Crates relying on custom tokenizer, or registering tokenizer in the manager will require some
|
Crates relying on custom tokenizer, or registering tokenizer in the manager will require some
|
||||||
minor changes. Check https://github.com/tantivy-search/tantivy/blob/main/examples/custom_tokenizer.rs
|
minor changes. Check https://github.com/quickwit-inc/tantivy/blob/main/examples/custom_tokenizer.rs
|
||||||
to check for some code sample.
|
to check for some code sample.
|
||||||
|
|
||||||
Tantivy 0.11.3
|
Tantivy 0.11.3
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
[](https://docs.rs/crate/tantivy/)
|
[](https://docs.rs/crate/tantivy/)
|
||||||
[](https://github.com/tantivy-search/tantivy/actions/workflows/test.yml)
|
[](https://github.com/quickwit-inc/tantivy/actions/workflows/test.yml)
|
||||||
[](https://codecov.io/gh/tantivy-search/tantivy)
|
[](https://codecov.io/gh/quickwit-inc/tantivy)
|
||||||
[](https://gitter.im/tantivy-search/tantivy?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[](https://gitter.im/tantivy-search/tantivy?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://crates.io/crates/tantivy)
|
[](https://crates.io/crates/tantivy)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
[](https://sourcerer.io/fame/fulmicoton/tantivy-search/tantivy/links/0)
|
[](https://sourcerer.io/fame/fulmicoton/tantivy-search/tantivy/links/0)
|
||||||
[](https://sourcerer.io/fame/fulmicoton/tantivy-search/tantivy/links/1)
|
[](https://sourcerer.io/fame/fulmicoton/tantivy-search/tantivy/links/1)
|
||||||
@@ -96,7 +96,7 @@ Tantivy compiles on stable Rust but requires `Rust >= 1.27`.
|
|||||||
To check out and run tests, you can simply run:
|
To check out and run tests, you can simply run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/tantivy-search/tantivy.git
|
git clone https://github.com/quickwit-inc/tantivy.git
|
||||||
cd tantivy
|
cd tantivy
|
||||||
cargo build
|
cargo build
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ authors = ["Paul Masurel <paul.masurel@gmail.com>"]
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
categories = []
|
categories = []
|
||||||
description = """Tantivy-sub crate: bitpacking"""
|
description = """Tantivy-sub crate: bitpacking"""
|
||||||
repository = "https://github.com/tantivy-search/tantivy"
|
repository = "https://github.com/quickwit-inc/tantivy"
|
||||||
keywords = []
|
keywords = []
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ Note: Tantivy 0.16 does not do this optimization yet.
|
|||||||
In principle there are many algorithms possible that exploit the monotonically increasing nature. (aggregations maybe?)
|
In principle there are many algorithms possible that exploit the monotonically increasing nature. (aggregations maybe?)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
The index sorting can be configured setting [`sort_by_field`](https://github.com/tantivy-search/tantivy/blob/000d76b11a139a84b16b9b95060a1c93e8b9851c/src/core/index_meta.rs#L238) on `IndexSettings` and passing it to a `IndexBuilder`. As of tantvy 0.16 only fast fields are allowed to be used.
|
The index sorting can be configured setting [`sort_by_field`](https://github.com/quickwit-inc/tantivy/blob/000d76b11a139a84b16b9b95060a1c93e8b9851c/src/core/index_meta.rs#L238) on `IndexSettings` and passing it to a `IndexBuilder`. As of tantvy 0.16 only fast fields are allowed to be used.
|
||||||
|
|
||||||
```
|
```
|
||||||
let settings = IndexSettings {
|
let settings = IndexSettings {
|
||||||
@@ -55,7 +55,7 @@ let index = index_builder.create_in_ram().unwrap();
|
|||||||
|
|
||||||
## Implementation details
|
## Implementation details
|
||||||
|
|
||||||
Sorting an index is applied in the serialization step. In general there are two serialization steps: [Finishing a single segment](https://github.com/tantivy-search/tantivy/blob/000d76b11a139a84b16b9b95060a1c93e8b9851c/src/indexer/segment_writer.rs#L338) and [merging multiple segments](https://github.com/tantivy-search/tantivy/blob/000d76b11a139a84b16b9b95060a1c93e8b9851c/src/indexer/merger.rs#L1073).
|
Sorting an index is applied in the serialization step. In general there are two serialization steps: [Finishing a single segment](https://github.com/quickwit-inc/tantivy/blob/000d76b11a139a84b16b9b95060a1c93e8b9851c/src/indexer/segment_writer.rs#L338) and [merging multiple segments](https://github.com/quickwit-inc/tantivy/blob/000d76b11a139a84b16b9b95060a1c93e8b9851c/src/indexer/merger.rs#L1073).
|
||||||
|
|
||||||
In both cases we generate a docid mapping reflecting the sort. This mapping is used when serializing the different components (doc store, fastfields, posting list, normfield, facets).
|
In both cases we generate a docid mapping reflecting the sort. This mapping is used when serializing the different components (doc store, fastfields, posting list, normfield, facets).
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ authors = ["Paul Masurel <paul.masurel@gmail.com>"]
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
categories = ["database-implementations", "data-structures"]
|
categories = ["database-implementations", "data-structures"]
|
||||||
description = """Search engine library"""
|
description = """Search engine library"""
|
||||||
documentation = "https://tantivy-search.github.io/tantivy/tantivy/index.html"
|
documentation = "https://quickwit-inc.github.io/tantivy/tantivy/index.html"
|
||||||
homepage = "https://github.com/tantivy-search/tantivy"
|
homepage = "https://github.com/quickwit-inc/tantivy"
|
||||||
repository = "https://github.com/tantivy-search/tantivy"
|
repository = "https://github.com/quickwit-inc/tantivy"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
keywords = ["search", "information", "retrieval"]
|
keywords = ["search", "information", "retrieval"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|||||||
@@ -1046,7 +1046,7 @@ impl IndexMerger {
|
|||||||
// the doc stores would be on average half full, given total randomness (which
|
// the doc stores would be on average half full, given total randomness (which
|
||||||
// is not the case here, but not sure how it behaves exactly).
|
// is not the case here, but not sure how it behaves exactly).
|
||||||
//
|
//
|
||||||
// https://github.com/tantivy-search/tantivy/issues/1053
|
// https://github.com/quickwit-inc/tantivy/issues/1053
|
||||||
//
|
//
|
||||||
// take 7 in order to not walk over all checkpoints.
|
// take 7 in order to not walk over all checkpoints.
|
||||||
|| store_reader.block_checkpoints().take(7).count() < 6
|
|| store_reader.block_checkpoints().take(7).count() < 6
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
//! A good place for you to get started is to check out
|
//! A good place for you to get started is to check out
|
||||||
//! the example code (
|
//! the example code (
|
||||||
//! [literate programming](https://tantivy-search.github.io/examples/basic_search.html) /
|
//! [literate programming](https://tantivy-search.github.io/examples/basic_search.html) /
|
||||||
//! [source code](https://github.com/tantivy-search/tantivy/blob/main/examples/basic_search.rs))
|
//! [source code](https://github.com/quickwit-inc/tantivy/blob/main/examples/basic_search.rs))
|
||||||
|
|
||||||
#[cfg_attr(test, macro_use)]
|
#[cfg_attr(test, macro_use)]
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
|
|||||||
Reference in New Issue
Block a user