lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Melchiorsen <m...@spoon.kalibalik.dk>
Subject Re: Overlapping zipcodes
Date Mon, 21 Sep 2009 13:49:58 GMT
Yeah, that takes care of the query side, but how can we index a list like
that?

It seems wrong to create a multivalue zipcode field and populate it with
each individual number in all the ranges.


Regards,
Anders.


On Mon, 21 Sep 2009 19:05:01 +0530, Avlesh Singh <avlesh@gmail.com> wrote:
> Range queries?
>
> Cheers
> Avlesh
>
> On Mon, Sep 21, 2009 at 2:57 PM, Anders Melchiorsen
> <mail@spoon.kalibalik.dk
>> wrote:
>
>> We are in a situation where we are trying to match up documents based
on
>> a
>> number of zipcodes.
>>
>> In our case, zipcodes are just integers, so that hopefully simplifies
>> things.
>>
>>
>> So, we might have a document listing a number of zipcodes:
>>
>>  1200-1450,2000,5000-5999
>>
>> and we want to do a search of "1100-1300,8000" and have it match the
>> document.
>>
>>
>> How can this be done using Solr?
>>
>>
>> Thanks,
>> Anders.
>>
>>

Mime
View raw message