comment
This commit is contained in:
parent
8e3e3b12f0
commit
27430403e2
@ -388,10 +388,15 @@ bool RclConfig::addLocalFields(map<string, string> *tgt)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get all known document mime values. We get them from the mimeconf
|
||||||
// Get all known document mime values (for indexing). We get them from
|
// 'index' submap.
|
||||||
// the mimeconf 'index' submap: values not in there (ie from mimemap
|
// It's quite possible that there are other mime types in the index
|
||||||
// or idfile) can't possibly belong to documents in the database.
|
// (defined in mimemap and not mimeconf, or output by "file -i"). We
|
||||||
|
// just ignore them, because there may be myriads, and their contents
|
||||||
|
// are not indexed.
|
||||||
|
//
|
||||||
|
// This unfortunately means that searches by file names and mime type
|
||||||
|
// filtering don't work well together.
|
||||||
list<string> RclConfig::getAllMimeTypes()
|
list<string> RclConfig::getAllMimeTypes()
|
||||||
{
|
{
|
||||||
list<string> lst;
|
list<string> lst;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user