Search function button on MBS Documentation page

We got a search button for the MBS Plugin documentation:

Please try.
You can open it with Control-K (Windows/Linux) or Command-K (MacOS).
type some words and we lookup the function list to find something close.
You can use multiple words, it prefers whole word and starting with words.
It searches classes, globals, interfaces, modules and controls.

Let me know what you think about it.

9 Likes

I’ve not tried it yet, but it has been wanted for a long time; thanks!

1 Like

Hi Christian.

This is much nicer than the Google search.

However, some quick tests indicate that it doesn’t find quite a lot of methods. For example, ScaleFast, ScaleMT, AWSPresignURL, SetFillColor didn’t show any results.

Some other suggestions:

  1. Having the results in this order might be better:
    • Exact Match
    • Begins With
    • Contains

  2. It would be nice if constants were included in the search.

  3. It would be nice if properties were included in the search.

1 Like

it only finds things with MBS in name as it uses the linkmap I use for other stuff.
Just a way to quickly go to something.

It already weights exact word match higher than starts with and both higher than contains.

That is disappointing as the current Google based search on your site is awful.

If I search for PictureMBS I would have expected it to appear in the results first but it appears much further down.

You are right. I’ll check that later.

I may have fixed it.

You may only see it if browser loads newer JavaScript, so maybe restart browser and/or clear cache.

The sort order is much better now.

You now just need a more comprehensive search.

1 Like

Please check again. I added code to put in unique methods, properties and events to increase the amount of stuff you can find.
But it makes the map file now 2.7 MB. I hope you have quick Internet.

2 Likes

That is so much better. I can see me using this instead of the Google based site search.

I think the only way you could improve it further would be to make the popup list show a few more rows and possibly show the start of the method description.

I make it a bit higher to show more items, if you click more.

And I added blog entries to the search index.

I may add more in future.

1 Like