diff --git a/src/file/extractor/result.cpp b/src/file/extractor/result.cpp --- a/src/file/extractor/result.cpp +++ b/src/file/extractor/result.cpp @@ -85,6 +85,18 @@ const QByteArray term = prefix + value.toDateTime().toString(Qt::ISODate).toUtf8(); m_doc.addBoolTerm(term); } + else if (value.type() == QVariant::StringList) { + bool shouldBeIndexed = KFileMetaData::PropertyInfo(property).shouldBeIndexed(); + for (const auto& val : value.toStringList()) + { + if (val.isEmpty()) + return; + m_termGen.indexText(val, prefix); + if (shouldBeIndexed) + m_termGen.indexText(val); + + } + } else { const QString val = value.toString(); if (val.isEmpty())