minor change
This commit is contained in:
parent
a499d62fe6
commit
5c3c723945
|
|
@ -523,8 +523,7 @@ public class QdrantDb : IVectorDb
|
|||
{
|
||||
var field = new FieldCondition
|
||||
{
|
||||
Key = f.Key,
|
||||
Match = new Match { Text = f.Value }
|
||||
Key = f.Key
|
||||
};
|
||||
|
||||
if (bool.TryParse(f.Value, out var boolVal))
|
||||
|
|
@ -535,6 +534,10 @@ public class QdrantDb : IVectorDb
|
|||
{
|
||||
field.Match = new Match { Integer = intVal };
|
||||
}
|
||||
else
|
||||
{
|
||||
field.Match = new Match { Text = f.Value };
|
||||
}
|
||||
|
||||
return new Condition { Field = field };
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue