glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

Handling of special characters and multi word queries in global/simple search #806

Open ReneRanzinger opened 1 year ago

ReneRanzinger commented 1 year ago

Problem

There are two problems here:

Inconsistency between simple and global search The logic below needs to be implemented in global and local search the same

Handling of special characters In simple search Dmel\Indy is seen as one string an no results are found. Similar to "Dmel\Indy" in global search. And that is the expected behavior. Global search treats Dmel\Indy as two words Dmel and Indy and finds false positives. Not sure what simple search does with "Dmel\Indy" but results here are also false positive.

This is the logic how simple AND global search input should be treated:

This would mean a search for Dmel\Indy means to search for "Dmel\Indy". A search for Dmel\Indy Gal means to search for "Dmel\Indy" OR "Gal".

rykahsay commented 11 months ago

I have tried to implement this on tst