profile_info.emails
field.
match
query we perform a full text search, meaning that we may get people who currently work as data scientists or in a similar position.
profile_info.current_title
as both text
and keyword
(See OpenSearch Mapping), we can easily perform an exact search on this field. Below we search for people whose role is titled “Data Scientist”. Mind that we use term
query to perform the search.
must
clause is the proper one. The below query will return all Software Developers working at The Swarm company. For other logical operation refer to OpenSearch documentation.
Information Technology and Services
industry that had their current job updated within a specific date range. This query uses a combination of range and term filters.
current_job_updated_at
field is used to filter profiles based on a specified time range. The date in the range filter can be adjusted to target job changes relevant to the specific use case.