lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prescott Nasser <>
Subject RE: Index Metadata in a Numeric Field
Date Fri, 28 Nov 2014 19:33:39 GMT
How about two separate fields? One for the value, one for the unit of measure. You might still
normalize your measurements so that you can still search across measurements

Sent from my Windows Phone
From: Daniel Masarin<>
Sent: ‎11/‎28/‎2014 4:32 AM
Subject: Re: Index Metadata in a Numeric Field

Hello, Jonathan

I thought to do this way but I want to filter the results by the measure
units, if I index all in the same field without the unit how can I find by
units later? My problem is because I have many units to represent and it
can represent many quantities. Do you understand my problem?

Thank you.

2014-11-26 14:55 GMT-02:00 Daniel Masarin <>:

> Hello, Mr
> 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?
> Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message