Returning search results from categories

Forum for users and developers of Bullhorn's API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
TheBudman
User
Posts: 1
Joined: Wed Nov 06, 2019 5:17 pm

Returning search results from categories

Post by TheBudman » Thu Nov 07, 2019 11:46 am

Hi we use tags on our site which we store under categories. We've recently added Tags with different levels e.g. SEO-Basic and SEO-Advanced.

This (https://rest22.bullhornstaffing.com/res ... TextBlock3) returns all candidates with both just "SEO - Elementary" and just "SEO" while we would only want candidates with "SEO - Elementary.

(+SEO Elementary)&sort=-customText22,-id&count=120&start=0&BhRestToken=518193a8-ed48-4138-bd86-3dbca85afc7c

We're trying to return results specific to the search for example Searching for “SEO – Elementary” returns results with just SEO. We only want to see exact matches.

Proposed Ticket Resolution:
You can enclose the search keyword in double quotes. The query parameter value can look like this: customTextBlock3:"SEO - Elementary"

The full example of the API call: https://rest22.bullhornstaffing.com/res ... lock3:"SEO - Elementary"&count=120&start=0&BhRestToken=<YOUR TOKEN>


The above resolution seems to have worked, but then we discovered another thing, we made this query:
https://rest22.bullhornstaffing.com/res ... lock3:"SEO - Elementary" OR customTextBlock3:"Social Media"&count=120&start=0&BhRestToken=652cfa29-675f-4f84-adff-8502926a93f6

This should have returned all candidates with either “SEO - Elementary” or “Social Media” tags, but we got this result:

{
"total": 3385,
"start": 0,
"count": 120,
"data": [
{
"id": 868,
"customTextBlock3": [
"25-27K",
"Account Manager",
"30K+",
"28-30K",
"Accountant",
"Administration",
"Media",
"Systems Development",
"User Experience",
"HTML",
"Salesforce.com",
"Cascading Style Sheets",
"JavaScript",
"Web Application Development",
"C++",
"CSS3",
"jQuery",
"Back End",
"SQL",
"API",
"Adobe Photoshop",
"Apache Subversion",
"Git",
"GitHub",
"HTML5",
"LaTeX",
"Sass",
"WordPress",
"Youtube API",
"AutoDesk",
"Autodesk Revit",
"Computer Graphics",
"Developer",
"Website Designer",
"Web Development Intern",
"SEO - Elementary",
"SEO-Elementary"
],
"_score": 1
},
{
"id": 594,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 812,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 880,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 891,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 592,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 878,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 744,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 808,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 578,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 877,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 807,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 1031,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 646,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 842,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 634,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 649,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 653,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 1000,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 770,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 717,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 609,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 944,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 709,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 705,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 619,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 687,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 757,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 1028,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 624,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 853,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 899,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 768,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 800,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 701,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 936,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 665,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 677,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 589,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 983,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 671,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 546,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 818,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 543,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 754,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 690,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2086,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2246,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2069,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2383,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2562,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2557,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2343,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2073,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2443,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2150,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2346,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2554,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2344,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2563,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2092,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2072,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2055,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2382,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2198,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2296,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2447,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2145,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2196,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2294,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2390,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2111,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2199,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2356,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2545,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2118,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2116,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2564,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2130,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2548,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2425,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2217,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2215,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2349,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2167,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2281,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2191,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2412,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2156,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2535,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2536,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2212,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2232,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2052,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2208,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2234,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2230,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2050,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2331,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2336,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2312,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2304,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2307,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2495,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2469,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2438,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2364,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2406,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2453,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2493,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2466,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2472,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2460,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2322,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2355,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2511,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2528,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2512,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2513,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
},
{
"id": 2058,
"customTextBlock3": [
"Social Media"
],
"_score": 0.21847674
}
]
}

I checked a couple of these results and none of them had any tags, which is quite weird, but most importantly they were returned even though they don’t have “Social Media” or “SEO - Elementary” tag, well they don’t have any tags.


We cannot see any tags on Bullhorn, I tried clearing cache and everything but they are not there, for example this one is the first one in the results and should have many tags, see the attached "Bullhorn No Tags Account" image.
Attachments
Tag Search Error.png
Tag Search Error.png (116.79 KiB) Viewed 1015 times

zgonza
User
Posts: 3
Joined: Fri Aug 30, 2019 9:38 am

Re: Returning search results from categories

Post by zgonza » Fri Nov 08, 2019 3:45 pm

Hello,

What is the edit type for customTextBlock3 that is currently being used? Is picker:text:category or picker:category?

Cheers,

Alikwouby
User
Posts: 2
Joined: Mon Nov 04, 2019 3:00 am

Returning search results from categories

Post by Alikwouby » Mon Nov 11, 2019 1:44 pm

Strange any dialogue turns out..

Post Reply