Multi-Category Search Feature Requests

Forum for all users to discuss the implementation and operation of the ChoralWiki at CPDL
Locked
LadyIslay
Posts: 16
Joined: 12 Dec 2007 20:05

Multi-Category Search Feature Requests

Post by LadyIslay »

I'd like to suggest the following improvements to the multi-category search feature:

Allow for searches by number of voices without requiring a sub-category, or allow for multiple sub-categories to be selected. For example, if I'm looking for 3-part mixed voices, I would like to get the results for SAB, SAT, STB, and ATB without having to do multiple searches.

Include a text search within the multi-category search, so that folks can search for all SAB sacred works with the word "Alleluia" in the title.

Include the composer, arranger and/or lyricists nationality as a search feature, if this is available in the database. If it isn't, can we add it?
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: Multi-Category Search Feature Requests

Post by carlos »

Hi, thanks for your suggestions!
LadyIslay wrote:Allow for searches by number of voices without requiring a sub-category, or allow for multiple sub-categories to be selected.
We already had plans to change this; a couple of tests have been made and it's pending just a couple of minor adaptations in order to be implemented.
LadyIslay wrote:Include a text search within the multi-category search, so that folks can search for all SAB sacred works with the word "Alleluia" in the title.
This feature is already available! Use the keyword field for textual search. (Perhaps "keyword" is not very intuitive...)
LadyIslay wrote:Include the composer, arranger and/or lyricists nationality as a search feature, if this is available in the database. If it isn't, can we add it?
Most composers and arrangers do have a nationality indicated in their pages (a few are still unknown); we had not planned to add this information for lyricists but this can be changed. If you just want to find a composer from a specific country, you can browse the category "composers by nationality" as an alternative:

http://www.cpdl.org/wiki/index.php/Cate ... ationality

Would this suffice or do you need to search by nationality combined with one or more of the other criteria?
vaarky
Moderator
Posts: 2163
Joined: 22 Aug 2008 07:28

Re: Multi-Category Search Feature Requests

Post by vaarky »

I agree that it would be good to clarify in the form what Keyword refers to.

More confusingly, it appears to be case-sensitive, which is counter-intuitive to people. I was confused by this just today, in fact. It returned zero hits when I asked for Sacred, 4-part, SATB, a cappella, with keyword indicating ave maria. At first, I thought it must be broken, but then it occurred to me to try a case-sensitive search and that worked.

I think we should make it case-insensitive by default. Even if we were to specify that it is case-sensitive, users would not find it useful to guess at the varying ways something might have been capitalized. If we wanted to be even more accomodating, we could put a box next to it for people to check if they want the search case-sensitive instead.
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: Multi-Category Search Feature Requests

Post by carlos »

vaarky wrote:I agree that it would be good to clarify in the form what Keyword refers to.
Hi Vaarky, in the instructions on top of the page there is a note explaining its use:

** Use the Keyword field to search for any word contained within the work title or composer name. Note that it is case-sensitive, therefore searching for 'bach' or 'Bach' will yield different results.
vaarky wrote:I think we should make it case-insensitive by default.
That would be great, but it wasn't our choice to make it case-sensitive, it's a limitation of the DPL command used to fetch the results ("titlematch"). Anyway, I'll see if anything can be done in this respect.
choralia
Site Admin
Posts: 2924
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: Multi-Category Search Feature Requests

Post by choralia »

It would be nice to entirely revise the multi-category search implementation in such a way that it makes use of the plain HTML code rather than the MediaWiki Simple Forms extension. The Simple Forms extension doesn't work with newer versions of the MediaWiki software, so it is preventing us to upgrade to up-to-date versions. I think that plain HTML code would also allow more flexibility for additional features.

Max
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: Multi-Category Search Feature Requests

Post by carlos »

Good news: there's a (poorly documented) parameter that in combination with 'titlematch' makes it case-insensitive; the Search was changed so that this will be the standard behavior from now on.
carlos
Site Admin
Posts: 1870
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: Multi-Category Search Feature Requests

Post by carlos »

LadyIslay wrote:I'd like to suggest the following improvements to the multi-category search feature:

Allow for searches by number of voices without requiring a sub-category.
Hi Lady Islay, this feature has just been implemented as requested.

All the best,
Carlos (talk)
CPDL Administration
Jaquick
Posts: 12
Joined: 05 Dec 2009 20:51

Re: Multi-Category Search Feature Requests

Post by Jaquick »

Feature I would like to see (maybe it exists and I don't know how):
A way to do a Boolean NOT for a specific contributor. Or, failing that, a way to select "all contributors" so that one could manually uncheck one or more.
There is a particular prolific editor whose work is not suitable for my purposes, and I'd like to be able to filter him out.
choralia
Site Admin
Posts: 2924
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: Multi-Category Search Feature Requests

Post by choralia »

Jaquick wrote: 14 Jun 2021 16:15 a way to select "all contributors" so that one could manually uncheck one or more
Normally, this should work using the standard "shift + click" funtion, i.e.,:
  • check the first checkbox (top) in the list;
  • press the "shift" key (i.e., capital letters key) on the keybord;
  • scroll the list and, while keeping the "shift" key pressed, click the last checkbox (bottom) in the list.
All checkboxes will be selected. You can uncheck the undesired ones then.

However, it seems that, as the list of contributors is very long, the resulting query is too long. I guess that it is easier to write a custom DPL query instead.

Max
BarryJ
Posts: 176
Joined: 03 May 2014 03:33
Location: Gunnison, Colorado, USA

Re: Multi-Category Search Feature Requests

Post by BarryJ »

See another discussion about MCS at this topic.
Barry Johnston
Gunnison, U. S. A.
Locked