Hello Community, I have a very simple question. D...
# community-help
a
Hello Community, I have a very simple question. Does TS supports prefix matching on a facet field? i.e. location: "this/is/a/path/of/full/site" and i want it to give a positive match against: filter_by: "this/is/a/path" is this possible?
k
Only q parameter does prefix searching.
d
@Kishore Nallan Is there any workaround or known approach how to achieve that? I have a scenario when facet values look like this
${id}_${value}
. And only
id
should appear in the URL deeplink. So after page reload I have access only to
id
. So the query will contain
filter_by=['12', '24']
.My assumption was that if I set
prefix: true
search param - that would give me same result as ``filter_by=['12_modelx', '24_model new']`` I quess
infix
search feature also applied only to
q
param? Thanks.
k
You will have to do 2 queries: first do regular q on
id
to fetch the full value, and then do actual filtering.