Nepomuk/FileIndexer/uk: Difference between revisions

    From KDE UserBase Wiki
    (Created page with "* BasicIQDelay — типово у основній черзі індексування немає пауз між обробкою послідовних файлів. За ...")
    (Created page with "* FileIQDelay — індексування файлів є доволі інтенсивним процесом. Можна встановити затримку між фай...")
    Line 29: Line 29:
    * BasicIQDelay — типово у основній черзі індексування немає пауз між обробкою послідовних файлів. За допомогою цього параметра можна встановити потрібну вам затримку.
    * BasicIQDelay — типово у основній черзі індексування немає пауз між обробкою послідовних файлів. За допомогою цього параметра можна встановити потрібну вам затримку.


    * FileIQDelay - File Indexing is an intensive process. One might want a delay between files, so that the indexing runs slower.
    * FileIQDelay — індексування файлів є доволі інтенсивним процесом. Можна встановити затримку між файлами, щоб дещо уповільнити індексування.


    * NormalMode_FileIndexing - This can be either "suspend" or "resume". If it is set to "resume" then the file indexer, will always be run during normal indexing.
    * NormalMode_FileIndexing - This can be either "suspend" or "resume". If it is set to "resume" then the file indexer, will always be run during normal indexing.

    Revision as of 13:36, 2 February 2013

    Other languages:

    Note

    На цій сторінці наведено документацію щодо засобу індексування файлів Nepomuk та способів його налаштовування.


    Засіб індексування файлів

    Nepomuk є основним засобом індексування файлів у Робочих просторах KDE.

    Архітектура

    У KDE засіб індексування файлів Nepomuk виконує індексування файлів у два етапи. На першому етапі, який можна назвати базовим, засіб просто отримує назву файла, час внесення змін до нього та його тип MIME. На другому етапі аналізується вміст файла і отримуються дані щодо його вмісту, зокрема дані щодо виконавця, альбому та назви композиції для файлів звукових даних.

    Типово, базове індексування виконується завжди. Керувати ним можна призупиненням засобу індексування файлів Nepomuk за допомогою панелі керування Nepomuk. Індексування файлів виконується лише тоді, коли користувач комп’ютера не виконує на ньому жодних завдань.

    Внесення змін до типової поведінки

    Якщо потрібно, користувач може змінити типову поведінку і надати змогу засобу індексування файлів виконувати індексування неперервно. Типову поведінку можна змінити за допомогою додавання до файла nepomukstrigirc таких записів:

    [Indexing]
    BasicIQDelay=0
    FileIQDelay=0
    NormalMode_FileIndexing=suspend
    


    Ви можете внести зміни до таких параметрів:

    • BasicIQDelay — типово у основній черзі індексування немає пауз між обробкою послідовних файлів. За допомогою цього параметра можна встановити потрібну вам затримку.
    • FileIQDelay — індексування файлів є доволі інтенсивним процесом. Можна встановити затримку між файлами, щоб дещо уповільнити індексування.
    • NormalMode_FileIndexing - This can be either "suspend" or "resume". If it is set to "resume" then the file indexer, will always be run during normal indexing.

    Початкове сканування

    On starting the Nepomuk File Indexer, it scans through all the all the files marked for indexing and checks if they have been modified. This scan on startup may take some amount of time. By default it is not configurable. It can however, be avoided by adding this parameter to the nepomukstrigirc.

    [General]
    disable initial update=true
    


    У такий спосіб можна вимкнути початкове сканування всіх проіндексованих файлів.

    Помилки під час індексування файлів

    Due to bugs and incorrect files one occasionally might encounter files which cannot be indexed. One can log the indexing errors in that case by changing the following parameter in nepomukstrigirc.

    [General]
    debug mode=true
    


    This will cause all the file errors to be written to the $KDEDIR/share/data/nepomuk/file-indexer-error.log file. You might want to check this file and report the errors by uploading the relevant file and error on bugs.kde.org

    Формати файлів

    With the KDE Workspace 4.10 release, we no longer rely on Strigi for file indexing. We now rely on our own home-grown indexer which use libraries already heavily used within KDE.

    In 4.10, we support most Image, Video, and Audio formats. We are however lacking in Document Formats and only support PDF. If you can encounter some file which you think has not been indexed, you can manually index it by manually running the following command nepomukindexer fileUrl. Make sure you have Nepomuk debug messages. If the file has been successfully indexed, and Nepomuk has not managed to successfully extract the required information, then please file a bug report with the relevant details.