Jump to content

Baloo: Difference between revisions

From KDE Community Wiki
Jessej (talk | contribs)
link
Vhanda (talk | contribs)
Removed all of the migration to Nepomuk part. We no longer care about that, and it is now no longer completely accurate.
Line 1: Line 1:
[https://projects.kde.org/projects/kde/kdelibs/baloo Baloo] is the next generation of the Nepomuk project. It's responsible for handling user metadata such as tags, rating and comments. It also handles indexing and searching for files, emails, contacts, and so on. Information for end users can be found [http://dot.kde.org/2014/02/24/kdes-next-generation-semantic-search in this dot article].
[https://projects.kde.org/projects/kde/kdelibs/baloo Baloo] is the file indexing and file search framework for KDE.


:Mailing List: [email protected] ([https://mail.kde.org/mailman/listinfo/kde-devel info page])
:Mailing List: [email protected] ([https://mail.kde.org/mailman/listinfo/kde-devel info page])
:IRC Channel: #kde-baloo on freenode
:IRC Channel: #kde-baloo on freenode


Baloo focuses on providing a very small memory footprint along with with extremely fast searching. It also supports storing additional file based metadata via extended attributes.
Baloo focuses on providing a very small memory footprint along with with extremely fast searching. It internally uses a mixture of sqlite along with Xapian to store the file index.


== Contributing to Baloo ==
== Contributing to Baloo ==


There is abstract list of higher level tasks which can be found over here - http://community.kde.org/Baloo/Tasks
The Baloo developers maintain a list of currently active tasks over [https://todo.kde.org/?controller=board&action=show&project_id=12 here]. Additionally there is also the bug tracker.


For junior jobs please have a look at the kde bug tracker.
== What about Nepomuk? ==


== Why change Nepomuk? ==
The Nepomuk project in KDE aimed at implementing the vision of "The Semantic Desktop" using RDF. After years of trying the developers felt that while many of the ideas behind "The Semantic Desktop" were great. Implementing them using RDF and classical semantics was not the way to go.


The Nepomuk project started as a research project in the European Union. The goal was to explore the use of relations between data for finding what you are looking for. It was build completely on top of RDF. While RDF is a great from a theoretical point of view, it is not the simplest tool to understand or optimize. The databases which currently exist for RDF are not suited for desktop use.
The Baloo project is just a file indexing solution for KDE. Everything that Nepomuk provided is now handled by other software which are part of the KDE Umbrella.
 
The Nepomuk developers have tried very hard over the last years to optimize the indexing and searching infrastructure, and they have now come to the conclusion that Nepomuk cannot be further optimized without migrating away from RDF.
 
RDF also heavily relied on ontologies. These ontologies are a way to describe how the data should be stored and represented. They used the ontologies from the original EU research project - Shared Desktop Ontologies. These ontologies were not designed in a time when it was not very clear how they would work and have sub-optimal performance and ease of use. They are quite vague in certain areas and often duplicate information. This leads to scenarios where it takes forever to figure out how the data should be stored. Additionally, since all the data needs to be stored in RDF, one cannot optimize for one specific data type.
 
Given these shortcomings and the many lessons learned over the last years the Nepomuk developers decided to drop RDF and rechristen the project under the name of Baloo. You can find more [http://community.kde.org/Baloo/Architecture technical background and info on its architecture here].
 
= Migrating data from Nepomuk to Baloo =
 
Nepomuk was used to store the tags, ratings, and user comments in Files. This data can be migrated by running the <tt>nepomukbaloomigrator</tt>. There is no continuous synchronization between Baloo and Nepomuk. Nepomuk was also used to store indexed information about Files, Emails and Contacts. Baloo shall reindex this information directly from the source.
 
= Running Nepomuk and Baloo together =
 
Nepomuk and Baloo can both coexist without issues. However, it may not be the best idea to run both of them on the same system as they both would then be indexing your files, emails and other data and taxing the system heavily, populating their databases.
 
Tags, ratings and comments will be not be synchronized between Nepomuk and Baloo after the initial migration.
 
= Baloo, Nepomuk, KDE Platform 4 and KF5 =
 
The Nepomuk project will not be ported to Qt5 and KF5. The Baloo project will be ported to KF5. This ported version of Baloo will continue to use the same database as the KDE Platform 4 version and will be completely compatible.
 
= Porting your Application to use Baloo =
 
Baloo is not a drop in replacement for Nepomuk. Applications relying on Nepomuk will have to port to Baloo. Their progress can be tracked on http://community.kde.org/Baloo/NepomukPort
 
The majority of Nepomuk applications just rely on its tags, ratings and comments features. Baloo offers a simple asynchronous API for modifying that file metadata. This metadata is now stored with the extended attributes of the file instead of storing it in a separate database.
 
Baloo also offers a search API which is similar to that of Nepomuk in some ways.

Revision as of 15:18, 10 October 2014

Baloo is the file indexing and file search framework for KDE.

Mailing List: [email protected] (info page)
IRC Channel: #kde-baloo on freenode

Baloo focuses on providing a very small memory footprint along with with extremely fast searching. It internally uses a mixture of sqlite along with Xapian to store the file index.

Contributing to Baloo

The Baloo developers maintain a list of currently active tasks over here. Additionally there is also the bug tracker.

What about Nepomuk?

The Nepomuk project in KDE aimed at implementing the vision of "The Semantic Desktop" using RDF. After years of trying the developers felt that while many of the ideas behind "The Semantic Desktop" were great. Implementing them using RDF and classical semantics was not the way to go.

The Baloo project is just a file indexing solution for KDE. Everything that Nepomuk provided is now handled by other software which are part of the KDE Umbrella.