Hey there! Thanks to the authors for a great API! ...
# help
v
Hey there! Thanks to the authors for a great API! I have a question about the POST
/api/jobs/search
endpoint. When I search for “_product manager_” using the
job_title_or
parameter, I get results like “_Manager, Dairy Products Quality_” or “_Warehouse Manager - Product Distribution_” because the search matches individual terms rather than the complete phrase. Is there a way to enforce exact phrase matching on the
job_title_or
field? Similar to how quoted terms work in Google Search.
👀 1
x
Hi, great question. Our goal is to make job_title_or smarter to let you do these kind of things in the future, but we're not there yet The only way to get what you'd want for now is using the
job_title_pattern_and
filter. Try it and let me know how if it gets you what you need
v
Thanks @Xoel! Indeed, replacing spaces with
\s+
helped.