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 or unit:feet , measure:[4 7]

Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -