On Tue, 2015-03-03 at 06:03 +0100, Shalin Shekhar Mangar wrote: > Also, the docs for "field" function query say that it is for numerics > but it works great with strings too. It probably won't work with > multi-valued (I haven't tried them).
I just tested with Solr 4.8. It supports field(dv_field) for single valued Strings and performance is great, relative to our requirements. Unfortunately asking for multi-value gives me the error "can not use FieldCache on multivalued field" just as you suspected. Tracking through the Solr 5.0 code, the "field" parser returns a ValueSource, providing FunctionValues that, unfortunately for us, are limited to single-value. We'll have to extract the multi-values explicitly with faceting or export, as Joel suggests, for the time being. - Toke Eskildsen, State and University Library, Denmark --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
