Changes between Initial Version and Version 1 of Ticket #19334


Ignore:
Timestamp:
Jan 3, 2025, 7:11:41 PM (5 days ago)
Author:
grexe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19334 – Description

    initial v1  
    66This feature would introduce a new property in the `META:ATTR_INFO` message of a filetype definition, something like `attr:searchable`.
    77
    8 If true, the attribute is added to the index; if false, it is removed from the index.
     8If true, the attribute is added to the index; if false, we need to check if the attribute is used by another MIME type and if not (i.e. orphaned index), remove it.
    99
    10 I thought there was some global utility function in the API to manage indices, but I cannot find it now.
     10cf:
     11* https://www.haiku-os.org/legacy-docs/bebook/IndexFunctions_Overview.html
     12* https://www.haiku-os.org/legacy-docs/bebook/TheStorageKit_Functions.html#fs_create_index
    1113
    1214Eventually, a simple preferences application for maintaining indices would be good, but is not required for now.