Site search functionality refactored

  • 212 Views
  • Last Post 4 weeks ago
Fighter posted this 4 weeks ago

Hello,

For some time I had on my to-do list to fix the broken search functionality on our site.

Inception asked to fix it some time ago but after a quick investiogation at that time I came to the conclusion the issue was complex and I had no time to take care of it.

The functionality is inherited from the MVC Forum platform, had many bugs on so many levels and basically it was implemented wrong. It always returned results mostly irrelevant to the search terms. You can see the same broken functionality on the old aboveunity.com site.

Now after many hours of investigation, debugging and fixing multiple bugs and also adding a new terms-higlighting feature it should work as expected: 

So now in search results we have only posts relevant to the search terms.

If you search for an entire phrase the top results will be posts containing the entire phrase and then posts containing words from that phrase.

The relevant phrases and words in the posts content will be highlighted using red back-color (let me know if the color is wrong and there could be a better color, could be easily changed).

Each post in the search results will have at its top a link with the name of the thread it belongs to. If you click on that thread name it will go into that thread at the specific page where the post is in that thread.

As the refactoring was made in multiple code layers there may be bugs introduced with these changes. Hopefully not but if you find any issue don't hesitate to report it here.

This should help our members and visitors to easily find any information on our site, I guess it's a functionality we all missed on our site.

So, yeah, any bug you find or if you have any feedback feel free to post here.

To Inception: sorry it took so long...

Regards,

Fighter

"If you want to find the secrets of the universe, think in terms of energy, frequency and vibration."
Nikola Tesla
Order By: Standard | Newest | Votes
Fighter posted this 4 weeks ago

Hello,

For some time I had on my to-do list to fix the broken search functionality on our site.

Inception asked to fix it some time ago but after a quick investiogation at that time I came to the conclusion the issue was complex and I had no time to take care of it.

The functionality is inherited from the MVC Forum platform, had many bugs on so many levels and basically it was implemented wrong. It always returned results mostly irrelevant to the search terms. You can see the same broken functionality on the old aboveunity.com site.

Now after many hours of investigation, debugging and fixing multiple bugs and also adding a new terms-higlighting feature it should work as expected: 

So now in search results we have only posts relevant to the search terms.

If you search for an entire phrase the top results will be posts containing the entire phrase and then posts containing words from that phrase.

The relevant phrases and words in the posts content will be highlighted using red back-color (let me know if the color is wrong and there could be a better color, could be easily changed).

Each post in the search results will have at its top a link with the name of the thread it belongs to. If you click on that thread name it will go into that thread at the specific page where the post is in that thread.

As the refactoring was made in multiple code layers there may be bugs introduced with these changes. Hopefully not but if you find any issue don't hesitate to report it here.

This should help our members and visitors to easily find any information on our site, I guess it's a functionality we all missed on our site.

So, yeah, any bug you find or if you have any feedback feel free to post here.

To Inception: sorry it took so long...

Regards,

Fighter

"If you want to find the secrets of the universe, think in terms of energy, frequency and vibration."
Nikola Tesla
Inception posted this 4 weeks ago

Thank you, Fighter!

((Inception)) "You do not know anything until you have practiced." - Richard Feynman

HansKammler posted this 4 weeks ago

Great. Thank you so much

  • Liked by
  • Fighter
  • worldcup
Fighter posted this 4 weeks ago

You're welcome guys !

Also today I fixed another annoying bug I had on my list: in the private messages the images were getting out of the body of the message and the image magnifier didn't worked when clicking on them.

Now this is fixed too, the images below are from the test of the fix I've made by exchanging a private message with TestMember (an account we have here which I use for investigating/debugging issues):

Regards,

Fighter

"If you want to find the secrets of the universe, think in terms of energy, frequency and vibration."
Nikola Tesla
Close