Either one of those, or it’ll be one package and you choose the edition at install time, and it installs the appropriate features. (Or, if using a package manager, your distro will have the free one, and there will probably be a nonfree package available from the elastic site.)
There are also cases where it’s the exact same code base, but purchasing a license allows you to do things that you otherwise couldn’t (for AGPL, that would mean the ability to run a modified version of the code without making your modifications available to customers).
Either one of those, or it’ll be one package and you choose the edition at install time, and it installs the appropriate features. (Or, if using a package manager, your distro will have the free one, and there will probably be a nonfree package available from the elastic site.)
Ah, that makes sense, thank you.
There are also cases where it’s the exact same code base, but purchasing a license allows you to do things that you otherwise couldn’t (for AGPL, that would mean the ability to run a modified version of the code without making your modifications available to customers).