lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Masarin <daniel.masa...@gmail.com>
Subject Re: Index Metadata in a Numeric Field
Date Sat, 29 Nov 2014 09:17:34 GMT
OK, I will try to do that. But What Query can I use to search? In this way,
I will need to search by measure with a Range Query and how about the
respective unit measure? What query can I use?

Thank you

Em Fri Nov 28 2014 at 17:34:24, Prescott Nasser <geobmx540@hotmail.com>
escreveu:

> 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<mailto:daniel.masarin@gmail.com>
> Sent: ‎11/‎28/‎2014 4:32 AM
> To: user@lucenenet.apache.org<mailto:user@lucenenet.apache.org>
> 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 <daniel.masarin@gmail.com>:
>
> > 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.
> >
>

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