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
POST request for getting document frequencies using public endpoint at: http://palmetto.aksw.org/palmetto-webapp/service/df
Returns unexpected number of results if one of the items (words) in a query contains underscore (_) character. For example this query works as expected:
Expected results would be an empty set. That is if query contains no data, first 4 bytes should be empty. Right now, if query contains a term like this somewhere in the middle, e.g.:
It will return two results, one for cat and one for dog, but the middle term would be ignored completely. As it is right now such cases requires special parsing, which should not be the case.
The text was updated successfully, but these errors were encountered:
The problem seems to be caused by the Spring framework. A local JUnit test works fine while a call to the online service does not work as expected. Thus, the default handling of method parameters of Spring seems to remove words containing an underscore.
POST request for getting document frequencies using public endpoint at:
http://palmetto.aksw.org/palmetto-webapp/service/df
Returns unexpected number of results if one of the items (words) in a query contains underscore (_) character. For example this query works as expected:
However this query fails:
The same for the complex terms such as:
Expected results would be an empty set. That is if query contains no data, first 4 bytes should be empty. Right now, if query contains a term like this somewhere in the middle, e.g.:
It will return two results, one for cat and one for dog, but the middle term would be ignored completely. As it is right now such cases requires special parsing, which should not be the case.
The text was updated successfully, but these errors were encountered: