Skip to content

record not found on full title, if title contains 'of' or 'in' #879

Open
@pvgenuchten

Description

@pvgenuchten

Description

If the title of a record contains the word 'of', 'for' or 'in' (and probably all stopwords), the record will not be found if you search on full title using q search in ogcapi-records

I found this behaviour at this record (having postgres backend):
https://rwanda.lsc-hubs.org/collections/metadata:main/items?q=Mycorrhizal+colonization+major+banana+genotypes+six+East+African+environments vs
https://rwanda.lsc-hubs.org/collections/metadata:main/items?q=Mycorrhizal+colonization+of+major+banana+genotypes+in+six+East+African+environments

Does it make sense to strip stopwords from q before querying the database?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions