Denis,

would dynamic fields help:
field defined as *_price in schema

at index time you index fields named like:
[1-9]_[0-99]_price

at query time you search the price field for a given country region
1_10_price:[10 TO 100]

This may work for some use-cases i guess

lee

2011/6/2 Denis Kuzmenok <forward...@ukr.net>:
> Hi)
>
> What i need:
> Index  prices  to  products, each product has multiple prices, to each
> region, country, and price itself.
> I   tried   to  do  with  field  type  "long"  multiple:true, and form
> value  as  "country  code  +  region code + price" (1004000349601, for
> example), but it has strange behaviour.. price:[* TO 1004000349600] do
> include 1004000349601.. I am doing something wrong?
>
> Possible data:
> Country: 1-9
> Region: 0-99
> Price: 1-9999999
>
>

Reply via email to