Remove semantic searches

We may revisit in the future but we'll go with keyword search only for launch
This commit is contained in:
Jorge Manrubia
2025-06-25 09:36:01 +02:00
parent c319c49345
commit 9e3dbb0858
12 changed files with 22 additions and 141 deletions
+3 -77
View File
@@ -876,43 +876,6 @@ columns:
default_function:
collation:
comment:
search_embeddings_vector_chunks00:
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: rowid
cast_type: !ruby/object:ActiveModel::Type::Value
precision:
scale:
limit:
sql_type_metadata: !ruby/object:ActiveRecord::ConnectionAdapters::SqlTypeMetadata
sql_type: ''
type:
limit:
precision:
scale:
'null': true
default:
default_function:
collation:
comment:
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: vectors
cast_type: !ruby/object:ActiveModel::Type::Binary
precision:
scale:
limit:
sql_type_metadata: !ruby/object:ActiveRecord::ConnectionAdapters::SqlTypeMetadata
sql_type: BLOB
type: :binary
limit:
precision:
scale:
'null': false
default:
default_function:
collation:
comment:
search_queries:
- *5
- *6
@@ -937,7 +900,6 @@ columns:
collation:
comment:
- *9
- *25
search_results:
- *5
- *6
@@ -1112,7 +1074,6 @@ primary_keys:
pins: id
reactions: id
schema_migrations: version
search_embeddings_vector_chunks00: rowid
search_queries: id
search_results: id
sessions: id
@@ -1155,7 +1116,6 @@ data_sources:
pins: true
reactions: true
schema_migrations: true
search_embeddings_vector_chunks00: true
search_queries: true
search_results: true
sessions: true
@@ -2217,30 +2177,12 @@ indexes:
comment:
valid: true
schema_migrations: []
search_embeddings_vector_chunks00: []
search_queries:
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
table: search_queries
name: index_search_queries_on_user_id
name: index_search_queries_on_terms
unique: false
columns:
- user_id
lengths: {}
orders: {}
opclasses: {}
where:
type:
using:
include:
nulls_not_distinct:
comment:
valid: true
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
table: search_queries
name: index_search_queries_on_user_id_and_terms
unique: false
columns:
- user_id
- terms
lengths: {}
orders: {}
@@ -2304,23 +2246,7 @@ indexes:
nulls_not_distinct:
comment:
valid: true
tags:
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
table: tags
name: index_tags_on_account_id_and_title
unique: true
columns:
- title
lengths: {}
orders: {}
opclasses: {}
where:
type:
using:
include:
nulls_not_distinct:
comment:
valid: true
tags: []
users:
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
table: users
@@ -2421,4 +2347,4 @@ indexes:
comment:
valid: true
workflows: []
version: 20250624080408
version: 20250625073215