Hi, planning to integrate Typesense in our app, ju...
# community-help
c
Hi, planning to integrate Typesense in our app, just want to ask if one of our cases is possible, can't find a way on how to do it, here's how it works: Let's say that I have a collection with the following fields:
title_en
,
title_nl
,
title_fr
,
language
Is it possible to use
query_by
with conditions where it should just query a specific field based on the
language
field e.g If a document has language
fr
, when I search for a keyword, it should only search on
title_fr
, same with the other language, if
language
is
nl
, it will only use the
title_nl
when searching something like
query_by = title_fr if language = fr OR title_en if language = en
Thanks! cc @Jason Bosco
k
No, this is not possible to do. You have specify the fields to be queried explicitly.