gramps-project / gramps-web-api

A RESTful web API for Gramps - backend of Gramps Web
https://www.grampsweb.org
GNU Affero General Public License v3.0
84 stars 46 forks source link

Allow searching for events by type names in different languages #285

Open DavidMStraub opened 2 years ago

DavidMStraub commented 2 years ago

I realized it's currently difficult to search for events since the name of the event participants is not part of the text_data_list that gets indexed.

Another issue is that type names (e.g. Baptism) are only indexed in the main locale, so it's not possible to search for a localized event type ("Taufe"), for instance.

DavidMStraub commented 4 months ago

Another one: it's almost impossible to search for families, as the names of the parents to not appeat in the text data list.

DavidMStraub commented 4 months ago

I realized it's currently difficult to search for events since the name of the event participants is not part of the text_data_list that gets indexed.

Another one: it's almost impossible to search for families, as the names of the parents to not appeat in the text data list.

Those two will be fixed as part of #525.

Another issue is that type names (e.g. Baptism) are only indexed in the main locale, so it's not possible to search for a localized event type ("Taufe"), for instance.

Not fixed yet, but anyway can't be fixed by changing what is indexed, but by translating the search query.