Skip to content
New issue

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

Document options.score #23

Open
franklin-ross opened this issue Jul 22, 2015 · 1 comment
Open

Document options.score #23

franklin-ross opened this issue Jul 22, 2015 · 1 comment

Comments

@franklin-ross
Copy link

In the body of the Sifter.prototype.search function are the following lines:

// generate result scoring function
fn_score = options.score || self.getScoreFunction(search);

I take this to mean we can supply a custom score function, which is pretty neat, but undocumented on the project GitHub page. It would be better to have it documented.

@avk
Copy link

avk commented Aug 28, 2015

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants