paulotten
paulotten
``` ---- index_size stdout ---- thread 'index_size' panicked at pg_search/tests/bm25_search.rs:1241:5: assertion failed: `(left == right)` Diff < left / right > : 35979 ``` This was failing repeatedly for me....
> Then just now it passed an I got a pair of other errors latter on. ``` running 2 tests test test_ephemeral_postgres ... FAILED test test_ephemeral_postgres_with_pg_basebackup ... FAILED failures: ----...
Thanks @philippemnoel. I'll take a look. Just to be clear my "find all the sharp corners then raise issues" approach is less about asking for help for me and more...
OK, so adding ``` PG_CONFIG=/usr/bin/pg_config ``` to my `.env` file gets me a different error for those two tests. ``` running 2 tests waiting for server to start....waiting for server...
I'll take a stab at this.
No Rust test yet. Just some SQL and an error: ```sql CREATE TABLE rust_release ( release_date date primary key, semantic_version text not null ) PARTITION BY RANGE (release_date); ``` Notes:...
```sql SELECT oid FROM pg_class WHERE relname = 'rust_release_idx_bm25_index' AND relkind = 'i'; ``` Returns 0 rows when I run it manually.
``` CREATE INDEX rust_release_idx_bm25_index ON public.rust_release USING bm25 (release_date, semantic_version) WITH (key_field='release_date', text_fields='{"semantic_version":{}}', numeric_fields='{}', boolean_fields='{}', json_fields='{}', datetime_fields='{}', uuid="2e684ee7-c25c-4612-bb84-03684c6074d3") ; ``` appears to be working
Problem is `relkind` https://www.postgresql.org/docs/current/catalog-pg-class.html#CATALOG-PG-CLASS > relkind char > r = ordinary table, i = index, S = sequence, t = TOAST table, v = view, m = materialized view, c...
More errors after making this change. I can call `create_bm25` successfully. But when I try to query the index ```sql SELECT release_date, semantic_version FROM rust_release_idx.search( 'semantic_version:1.' ); ``` I get...