diff --git a/query-algebrizer/src/clauses/mod.rs b/query-algebrizer/src/clauses/mod.rs index 6431429f..2e2d382e 100644 --- a/query-algebrizer/src/clauses/mod.rs +++ b/query-algebrizer/src/clauses/mod.rs @@ -742,10 +742,10 @@ impl ConjoiningClauses { // TODO: an existing non-string binding can cause this pattern to fail. &EvolvedValuePlace::Variable(_) => - Ok(DatomsTable::AllDatoms), + Ok(DatomsTable::FulltextDatoms), &EvolvedValuePlace::Value(TypedValue::String(_)) => - Ok(DatomsTable::AllDatoms), + Ok(DatomsTable::FulltextDatoms), _ => { // We can't succeed if there's a non-string constant value for a fulltext