We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the yaml config file, defined a field without any boost as: boost_weights: taxon_searchable
boost_weights: taxon_searchable
will generate a query which is not valid, with boosting: taxon_searchable^NaN
taxon_searchable^NaN
Ideally a default boosting of 1 should be present instead.
The text was updated successfully, but these errors were encountered:
Ah--I thought you had nothing here (e.g. a blank boost line). Am I correct that you're actually inputting "NaN", as per your example?
Sorry, something went wrong.
Oops missed copy/paste, I edited the text.
Actually instead of having 1 as default boost, it can just be left without any boost, it's a valid query.
qf: [ "label_searchable^1", "definition_searchable^1", "synonym_searchable^1", "iri_searchable^2", "id_searchable^2", "taxon_searchable" ],
Ah yes, that's a boog then--it should error earlier or give a default value. Playing with NaN a second ago:
> isNaN(NaN) true > isFinite(NaN) false > typeof(NaN) 'number' > typeof(1) 'number' > NaN/NaN NaN > 1/NaN NaN > 1/0 Infinity
That. Is. So. Wrong.
kltm
No branches or pull requests
In the yaml config file, defined a field without any boost as:
boost_weights: taxon_searchable
will generate a query which is not valid, with boosting:
taxon_searchable^NaN
Ideally a default boosting of 1 should be present instead.
The text was updated successfully, but these errors were encountered: