How to Perform Partial Search Using Boolean Search in RChilli
RChilli's Search & Match API supports advanced Boolean search functionality, including the ability to perform partial searches. Here's a detailed breakdown of how to implement partial searches effectively:
What Is a Partial Search?
A partial search allows users to retrieve results that contain part of a keyword or phrase rather than requiring an exact match. This is particularly useful in scenarios where the exact spelling or format of a keyword is uncertain.
For example:
-
A full search for
"developer"might miss resumes with"development"or"develop". -
A partial search for
"develop*"can retrieve all related matches.
How to Use Partial Search with Boolean Operators
RChilli's Search & Match engine supports the following syntax for partial matching:
1. Wildcard * Operator
Use * to match any number of characters (0 or more).
Example:
{
"search": "develop*"
}
-
Matches:
developer,development,developing
2. Wildcard ? Operator
Use ? to match exactly one character.
Example:
{
"search": "te?t"
}
-
Matches:
test,text
3. Boolean Logic
You can combine wildcards with Boolean logic such as AND, OR, and NOT.
Example:
{
"search": "(develop* OR program*) AND NOT intern"
}
Comments
0 comments
Please sign in to leave a comment.