Describe the bug
When I perform a lexical search on a structured index, the results are returned as expected, but the _score attribute is 0.0.
A tensor search always returns a non-zero _score on both structured and unstructured indexes, but a lexical search only returns a _score on an unstructured index.
To Reproduce
Steps to reproduce the behavior:
Follow the first 2 steps of the README to start a docker container and install marqo
Follow this Cockbook to create a strcutured index:
Perform the search
The result looks like this:
{'hits': [{'_id': '1', 'text_field': 'New York', '_score': 0.0, '_highlights': []}], 'query': 'New York', 'limit': 10, 'offset': 0, 'processingTimeMs': 57}
Expected behavior
I expect a non-zero _score, like when an unstructured index is used.
Describe the bug When I perform a lexical search on a structured index, the results are returned as expected, but the _score attribute is 0.0. A tensor search always returns a non-zero _score on both structured and unstructured indexes, but a lexical search only returns a _score on an unstructured index.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect a non-zero _score, like when an unstructured index is used.
Desktop: