lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidworks.com>
Subject Re: Optimize facets when actually single valued?
Date Tue, 13 Nov 2012 18:50:40 GMT
On Tue, Nov 13, 2012 at 6:37 PM, Ryan McKinley <ryantxu@gmail.com> wrote:
> If the only motivation for adding 'multiValued=flexible' is the response
> format, what about just changing the response format version number and
> writing the wrapping list based on that?

The original version of Solr (SOLAR when it was still inside CNET) did
this - a multiValued field with a single value was output as a singe
value, not an array containing a single value.  Some people wanted
more predictability (always an array or never an array).

-Yonik
http://lucidworks.com


> Allowing multiple values, but behaving like single value fields when only
> one value exists would be a *huge* simplification for my app!
>
> ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message