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

Search #1248

Closed
voroyam opened this issue May 24, 2019 · 5 comments
Closed

Search #1248

voroyam opened this issue May 24, 2019 · 5 comments
Assignees
Labels
p4-low Low priority
Milestone

Comments

@voroyam
Copy link
Contributor

voroyam commented May 24, 2019

I would like to understand how the search does the rating on results.

If I type in occ, I would think that the document with the occ in the name would be the first on the list, but it's not. I would like to understand how it's being calculated what get's more points.
Then the 10.1 version is rated higher on the list then 10.0. Is there a reason?

image

@tboerger @settermjd

@settermjd settermjd added this to the Backlog milestone May 24, 2019
@settermjd settermjd added the p4-low Low priority label May 24, 2019
@tboerger
Copy link
Contributor

The ordering beside the score is undefined. The more often the searched keywords are present in a document the higher score it gets. With the same score the ordering could be random.

We are simply dropping all documents into elasticsearch without any further configuration.

If you got ideas how to improve it look at the index function at https://github.com/owncloud/docs/blob/master/generator/generate-site.js#L38 and improve the index weighting. Reading the index is handled at https://github.com/owncloud/docs-ui/blob/master/src/js/vendor/elastic.js#L36

@tboerger
Copy link
Contributor

owncloud/docs-ui#76 could be also relevant

@settermjd
Copy link
Contributor

Relates to #797.

@settermjd
Copy link
Contributor

Thanks for the feedback, @tboerger.

@voroyam
Copy link
Contributor Author

voroyam commented Jul 15, 2019

the other issues are better for finding a solution than this one.

@voroyam voroyam closed this as completed Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p4-low Low priority
Projects
None yet
Development

No branches or pull requests

3 participants