Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

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

Open
liowalter opened this issue Jan 7, 2019 · 5 comments

Comments

@liowalter
Copy link
Member

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
Copy link
Member Author

Also : basel hauptbibliothek gives nothing

@liowalter
Copy link
Member Author

@edelm
Copy link

edelm commented Apr 23, 2019

see also #31

@liowalter
Copy link
Member Author

liowalter commented May 6, 2019

Favorite Search :

Advanced search

  • uses this jquery plugin for autocompletion (based on the class chosen-select set in this template) as well as the init in AdvancedSearch.js
  • uses the label only, in the user language
  • basically it is a big select
  • on mobile it only shows a list
  • the order is important (uni basel works, but basel uni doesn't work)
  • it searches at the beginning of a word (usanne doesn't find lausanne). But this can be configured.

@liowalter
Copy link
Member Author

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants