jpwahle / cs-insights-backend

API server of the cs-insights project. This is the main part of storing data and accessing an external data analysis endpoint. It uses a mongoDB instance to store everything and queries the cs-insights-prediction-endpoint to get machine learning results.
https://jpwahle.github.io/cs-insights-backend/
MIT License
7 stars 0 forks source link

Change regex for author matching #45

Closed trannel closed 2 years ago

trannel commented 2 years ago

Is your feature request related to a problem? Please describe. The current regex will match any authors that has the search string somewhere in their name, independent of the position of the query string.

Describe the solution you'd like The regex should only match authors, where the query string is at the beginning of one of their names. Example: query string: "jan". Match: "Jan W.", "W. Jan", Do not match: "Ajan W."

The user should also be informed about this behavior.

trannel commented 2 years ago

Fixed in #47