lucene - Index Metadata in a Numeric Field -
i trying index metadata in numeric field of lucene.net don’t know how it. built class find measures on descriptions, class returns list of measures in these form: “150{inch} 200{mm}” etc. , want index these values search them simultaneously, numeric value , measure unit. how can that? need create custom field?
thank you.
a couple of ideas (from lucene.net mailing list)
- store units of measure converted common unit. if user input feet, or meters, or inches, convert common unit , search
- store separate field unit type , measure. can search
unit:mm , measure:100
orunit:feet , measure:[4 7]
Comments
Post a Comment