Skip to content

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Mar 2, 2016

Index time boost will still be applied for indices created before 5.0.0.

@jimczi jimczi added :Search Foundations/Mapping Index mappings, including merging and defining field types v5.0.0-alpha1 >breaking labels Mar 2, 2016
@jimczi
Copy link
Contributor Author

jimczi commented Mar 2, 2016

Originated from #12394 (comment)

@jpountz jpountz self-assigned this Mar 2, 2016
@@ -186,6 +186,7 @@ private static void reverseOrder(ParseContext.InternalParseContext context) {
}
}

// TODO Should we remove this feature ? It seems that it's not tested nor used.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 it looks like there are some remainders of the boost field mapper that we removed a while ago (eg. there is also ParseContext.docBoost).

@jpountz
Copy link
Contributor

jpountz commented Mar 2, 2016

I think the doc changes might break some links (@clintongormley should be able to confirm) but otherwise it looks good to me. Thanks!

@jimczi
Copy link
Contributor Author

jimczi commented Mar 3, 2016

@jpountz I've removed the docBoost from the context and added an entry in the redirects.asciidoc.
Could you take a look ?

@jpountz
Copy link
Contributor

jpountz commented Mar 3, 2016

This looks great!

Index time boost will still be applied for indices created before 5.0.0.
jimczi added a commit that referenced this pull request Mar 4, 2016
Change the field mapping index time boost into a query time boost
@jimczi jimczi merged commit cd950a3 into elastic:master Mar 4, 2016
@jimczi jimczi deleted the mapping_field_level_boost branch March 4, 2016 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>breaking :Search Foundations/Mapping Index mappings, including merging and defining field types v5.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants