The general search bar is a new tool that will allow you to search for different objects in all the database at the same time.
For now, there are 5 searchable fields by default. Each one has a multiplier value to ensure that the results displayed are as accurate as possible:
- Name: Multiplies x2
- Email: Multiplies x1
- Phone: Multiplies x1
- Job title: Multiplies x1
- Website: Multiplies x1
As you can see, Bloobirds prioritizes the field 'name'.
So, how does it work? We use a search engine that checks the values the user wishes to search and sees if they match any value from any field marked for search on every object. In other words, it goes object by object checking if the input matches anything searchable on that object. Then it assigns a value. Let’s see this with an example:
We’re searching in for a company name “Freebird”
With these four examples one might think that they’re ordered by how they’ll be displayed, but if we calculate the scores of each one the results may change. Keep in mind that we’ve set the name to be weighted x2 on the search.
Based on these, the company Hubtype will not even be displayed on the results page and the results will be: Freebird, Countrybirds Scenic View, and Bloobirds, in that order.