I was trying to index some metadata in a numeric field of lucene.net but I don’t know how to do it. I built a class to find measures on descriptions, that class returns a list of measures in these form: “150{inch} 200{mm}” etc. And I want to index these values to search for them simultaneously, numeric value and the measure unit. How can I do that? I need to create a custom field?
Thank you.
A couple of ideas (from the Lucene.Net mailing list)
unit:mm AND measure:100
orunit:feet AND measure:[4 to 7]