LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2023, 05:23 AM   #1
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Rep: Reputation: Disabled
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?
 
Old 03-24-2023, 05:54 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,332
Blog Entries: 3

Rep: Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727
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.
 
Old 03-24-2023, 06:01 AM   #3
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
Thanks, Turbocapitalist! I will check out Recoll, but I might be back asking for more help.
 
Old 03-25-2023, 01:23 AM   #4
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
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?
 
Old 03-25-2023, 01:45 AM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,332
Blog Entries: 3

Rep: Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LibreOffice Writer can't start on Debian 9 but other LibreOffice apps work fine IsaacKuo Linux - Software 4 08-20-2017 12:45 AM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM
LXer: LibreOffice Tips: Inserting QurĂ¢??an text in LibreOffice Writer LXer Syndicated Linux News 0 04-16-2012 02:50 PM
How do I get my DVD writer or CD writer working? M$ISBS Slackware 24 11-07-2011 08:49 PM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration