You can copy the field to another field, then use the
FirstFieldValueUpdateProcessorFactory to limit that field to the first value.
At least, that seems to be what that URP does. I have not used it.
https://solr.apache.org/guide/8_8/update-request-processors.html
wunder
Walter Underwood
wun...@
Hi,
Is it possible in any way to get the first value in a multivalued field? Using
function queries, streaming expressions or any other way without reindexing?
(Stream decorators have array(), but no way to get a value at a specific index?)
Another one, is it possible to match a regex to a text