Ok, I'll go back to using Project as a way to solve this (I think this is _the_ way to do it).
For my case, I'll need to use .WhereGreaterThan on the value. In order to accomplish this, I believe I need to use NumericField in something like this:
Project(p.Properties, prop=> new NumericField(prop.Key,
Field.Store.NO, true).SetDoubleValue(prop.Value.Value))
Is this the correct way to be getting the result I want (range queries to function on a numeric)?
If so, there is a bug. When you generate the text (tmp file) of the index to compile, the text is changing the text to:
Project(p.Properties, prop=> new NumericField(prop.Key,
Field.Store.NO, True).SetDoubleValue(prop.Value.Value))
Note the capital "T" in true for the parameter in NumericField. This causes a compilation error at runtime.
Is there another/better way to go about finding a solution?
_IF_ the NumericField should be supported inside a Project function, I have submitted a pull request with a failing test: