lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Unit of dimension for solr field
Date Mon, 11 Nov 2013 22:16:59 GMT
You seem to be consistently missing the problem that your queries will not
work as expected. How would you do a range query without writing a some
kind of custom code that looked at the payloads to determine the normalized
units?

The simplest way to do this is probably have your ingestion side normalize.
Put the original (complete with units) in a field that has indexed="false",
this will only be used for showing in the results list.

_Also_ add the normalized field to another filed that you set
indexed="true" and stored="false" to. that will allow range searches,
faceting, etc.

HTH,
Erick


On Mon, Nov 11, 2013 at 2:36 PM, eakarsu <eakarsu@gmail.com> wrote:

> Can DelimitedPayloadTokenFilterFactory be used to store unit dimension
> information? This factory class can store extra information for field.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Unit-of-dimension-for-solr-field-tp4100209p4100345.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

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