LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   keywords in libreoffice writer (https://www.linuxquestions.org/questions/linux-newbie-8/keywords-in-libreoffice-writer-4175723373/)

Alok Rai 03-24-2023 05:23 AM

keywords in libreoffice writer
 
In order to manage a pile of LibreOffice Writer documents, I want to assign keywords to individual documents, and then search the entire directory for the documents that carry that particular keyword. Can this be done?

Turbocapitalist 03-24-2023 05:54 AM

If you go to File->Properties->Description->Keywords you can add such metadata to your document.

Then for retrieval, Recoll might be an option. If it does not work out of the box for the OpenDocument Format's metadata, then the filters can be modified. In many cases such a modification is not too hard.

Alok Rai 03-24-2023 06:01 AM

Thanks, Turbocapitalist! I will check out Recoll, but I might be back asking for more help.

Alok Rai 03-25-2023 01:23 AM

I have downloaded Recoll, but will take some time getting the hang of it. Meanwhile, I have learnt how to add Keywords to documents in LibreOffice Writer - for which, many thanks.

Now, using Recoll, is it possible to search among a pile of documents using only the Keyword field, or would one be doing a full-text search?

Turbocapitalist 03-25-2023 01:45 AM

The initial indexing will take a long time. You can limit which directories it indexes or exclude specific subdirectories to speed that up.

Once indexed, you can do various kinds of searches. You can do a faceted search by going to the search bar in Recoll, selecting Query Language in the pull-down menu, and then entering the specific query there including any fields you wish to single out, such as keyword.

Code:

keyword:xyzzy
That query will find documents labelled with "xyzzy" in the keyword field but ignore the string elsewhere in other fields or the body text. Recoll should have a full user manual available via the Help menu. It can go into more faceted searching and the query language in much better detail.

And of course it is possible to do a faceted search combined with full text, etc.


All times are GMT -5. The time now is 02:44 AM.