swissbib / vufind

A library resource discovery portal designed and developed for libraries by libraries
GNU General Public License v2.0
12 stars 7 forks source link

Library search : not the same results in advanced search and in favorites #679

Open liowalter opened 5 years ago

liowalter commented 5 years ago

If I search etoy in the library field in the advanced search, I don't find any library.

If I search etoy in the favorite library search then I find the "Mediathèque d'Etoy".

The advanced search only search in the label. The tokenizing is not strict enough. I need to search "d'etoy" to find the lib. For St-Prex, I need to search St-Prex. Prex doesn't work

The favorite search is more fault-tolerant. It also searches in the addresses, the library codes and other fields.

liowalter commented 5 years ago

Also : basel hauptbibliothek gives nothing

liowalter commented 5 years ago

Library search : not the same results in advanced search and in favorites

edelm commented 5 years ago

see also https://github.com/swissbib/vufind/issues/31

liowalter commented 5 years ago

Favorite Search :

Advanced search

liowalter commented 5 years ago

The above commits solves the problem with Mediathèque d'Etoy and Bibliothèque communale de St-Prex. Search Etoy and Prex will find this both libraries.

To offer the next feature (searching UB Basel or Basel UB should deliver the same results), neither chosen jquery plugin nor [autocomplete.js](https://github.com/swissbib/vufind/blob/master/themes/bootstrap3/js/lib/autocomplete.js offers this option. Even the static version of autocomplete.js doesn't offer this.

We need another tool. Possible candidates :

Or we let it as it is...