Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
XWIKI-6218: Possibility to exclude attachments of a certain mimetype from the search #49
commented on an outdated diff
May 30, 2012
|@@ -56,6 +56,9 @@|
|/** How much to weight down fields from the owner document that are not that relevant for attachments. */|
|private static final float IRRELEVANT_DOCUMENT_FIELD_BOOST = 0.1f;|
|+ /** The importance of the attachment mimetype. */|
|+ private static final float MIMETYPE_BOOST = 3f;|