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
Disable bloom filters #8572
Disable bloom filters #8572
Conversation
it looks awesome - I know that we have |
oh, yes this is no longer used, lemme see if i can clean it up more. to answer your question, es090 fields will read with the old code, but we never load blooms. we just read the delegate PF name from the .blm file. as far as "auto-upgrade", they will be converted by normal merging and by the upgrade api in 2.0. For 1.x we would need additional logic to force the upgrade API to target these, since the lucene codec major version will not have changed, it will think they are up to date. |
pushed commit removing StoreDirectory.codecService(). DirectoryUtils.getStoreDirectory is still used by other code. As far as migration doc, I am unsure what, if any text we should add. We will be able to read the old segments so there is not much for the user to do? |
All I'd add is something like this:
sorry I was unclear... I meant if somebody has |
I'm confused, where is this 'bloom' option in the mappings? there is no reference to it in the documentation. |
bq. I'm confused, where is this 'bloom' option in the mappings? there is no reference to it in the documentation. yeah nevermind I was talking about the SPI loader etc... |
We could maybe remove StoreDirectory entirely? Does it have a purpose beyond passing that bloom setting? |
yes it does I already spoke to rob about how to remove it I think we can but it might requrie some modification to lucene too to allow associating a shard ID with and index reader / leaf reader |
Mike there is other code using this stuff (unfortunately). The reason is, some code wants to know what shard a segment reader belongs to. we should think about a better way to do this, but i think its out of scope here. |
OK let's not do it here. |
LGTM |
1 similar comment
LGTM |
@rmuir did you merge this? I think it can be closed? |
yes, i only closed the issue, or the pull request, or whichever this one isnt. Github is a mess |
See #8571 and #8564
I make the "es090" postings format read-only, just to support old segments. There is a test version that subclasses it with write-capability for testing.