You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure why searching from creators is not working since it was updated in searchkit where it is specifically included and boosted (used to be just creators^2 when creators was simply a string):
//create json body for ElasticSearchClient - search querymustQuery.push({simple_query_string: {query: q,lenient: true,default_operator: "AND",fields: ["titleStudy^4","abstract^2","creators.name^2","keywords.term^1.5","*"],flags: "AND|OR|NOT|PHRASE|PRECEDENCE|PREFIX"}});
Somehow searching with 'Lundby' still doesn't find this study and same goes for other creators. Sometimes it looks like it's finding a study but then the same name is actually found in related publications.
I also didn't always think about searching while making or reviewing changes but Katja already tried searching with the name of the funder and realized it doesn't work so it should probably be made possible.
Same for any other fields we want to be findable through search but currently aren't. Series information and data kind should already be good though as they already have SearchField in mappings, so from the new fields it just leaves data access (Open/Restricted) and creator identifier. For data access it would make more sense to have it as a filter if we want to make it possible to search by it and for creator identifier, I assume people would rather search by name and not e.g. ORCID iD.
The text was updated successfully, but these errors were encountered:
Not sure how to fix this. But agree that for access we want this as a filter for 3.8.
There might be an interest in using ORCID as an input for searching, but do not think this needs to be fixed quickly in comparison to being able to search in the creator names.
Okay, I'll look into fixing searching by creator name while keeping the boost like it is now. I'll make funding and creator's id searchable through a change in the mappings.
markusjt
changed the title
Searching from creators is not working and searching from new fields such as funding
Fix searching from creators, enable searching from new fields such as funding and add more normalized fields
Jan 22, 2025
I'm not sure why searching from creators is not working since it was updated in searchkit where it is specifically included and boosted (used to be just
creators^2
when creators was simply a string):Somehow searching with 'Lundby' still doesn't find this study and same goes for other creators. Sometimes it looks like it's finding a study but then the same name is actually found in related publications.
I also didn't always think about searching while making or reviewing changes but Katja already tried searching with the name of the funder and realized it doesn't work so it should probably be made possible.
I assume we would need to change from:
to:
Same for any other fields we want to be findable through search but currently aren't. Series information and data kind should already be good though as they already have SearchField in mappings, so from the new fields it just leaves data access (Open/Restricted) and creator identifier. For data access it would make more sense to have it as a filter if we want to make it possible to search by it and for creator identifier, I assume people would rather search by name and not e.g. ORCID iD.
The text was updated successfully, but these errors were encountered: