21 releases (7 stable)

2.3.0 Oct 8, 2025
2.2.0 May 31, 2024
2.1.1 Oct 19, 2023
2.1.0 May 26, 2023
0.5.1 Apr 15, 2016

#1455 in Database interfaces

Download history 2140/week @ 2025-06-30 3345/week @ 2025-07-07 3646/week @ 2025-07-14 3385/week @ 2025-07-21 3649/week @ 2025-07-28 2816/week @ 2025-08-04 2512/week @ 2025-08-11 2168/week @ 2025-08-18 2870/week @ 2025-08-25 3393/week @ 2025-09-01 3524/week @ 2025-09-08 3790/week @ 2025-09-15 3685/week @ 2025-09-22 3730/week @ 2025-09-29 3881/week @ 2025-10-06 4919/week @ 2025-10-13

16,254 downloads per month
Used in 3 crates

MIT license

17KB
322 lines

diesel_full_text_search

crates.io docs

Add support for Postgres full text search to diesel, the safe, extensible ORM and query builder for Rust.

This crate also serves as an example of how to extend diesel with database specific features outside of diesel itself as third party crate.

Example Usage


use diesel_full_text_search::*;

let search = "bar";

let query = foo::table.filter(to_tsvector(Foo::description).matches(to_tsquery(search)));

For complete examples, see /examples.

Dependencies

~4MB
~72K SLoC