(Currency has one value and a dynamic table of currency->conversion.
The field type does the conversion calculations on the fly.)

To pick particular values, you have to do your own search inside the
returned array.

On Wed, Mar 21, 2012 at 1:25 PM,  <ramdev.wud...@thomsonreuters.com> wrote:
> Hi Yonik:
>    Thanks, I am looking a field (example: Currency) which can have
> multiple values within a document (I.e. Different currencies and
> corresponding conversion rates).
> I would like to store that information as part of one multivalued field.
>
> Even better would be a solution that upon queried would be able to return
> only the items that satisfy the query. (I.e. When a multivalued field is
> queried, that the results are the entries within the multivalued field
> that satisfy the query)Š
>
> Is there any magic like that ?
>
> If there is a possibility to store complex fields as multivalued fields,
> then maybe I could use the CopyField with a condition to copy only the
> content that satisfy a threshold score.
>
>
> Thanks for the support/answers
>
> Ramdev
>
>
>
> On 3/20/12 2:12 PM, "Yonik Seeley" <yo...@lucidimagination.com> wrote:
>
>>On Tue, Mar 20, 2012 at 2:17 PM,  <ramdev.wud...@thomsonreuters.com>
>>wrote:
>>> Hi:
>>>   We have been keen on using polyfields for a while. But we have been
>>>restricted from using it because they do not seem to support
>>>Multi-values (yet).
>>
>>Poly-fields should support multi-values, it's more what uses them may not.
>>For example LatLon isn't multiValued because it doesn't have a
>>mechanism to correlate multiple values per document.
>>
>>-Yonik
>>lucenerevolution.com - Lucene/Solr Open Source Search Conference.
>>Boston May 7-10
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to