text: public BytesRef[] GetBinaryValues(string name){var result = new List<BytesRef>();foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal)){BytesRef bytes = field.GetBinaryValue();if (bytes != null){result.Add(bytes);}}}return result.ToArray();}