[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: baloo metadata scrapers
From:       Vishesh Handa <me () vhanda ! in>
Date:       2016-10-07 11:47:04
Message-ID: CAOPTMKCPx8Yh+xJKMKgteZJHUAi7tVKEz-FynorKOoeCWLD=cA () mail ! gmail ! com
[Download RAW message or body]

On Oct 7, 2016 12:07, "Martin Bednar" <serafean@gmail.com> wrote:
>
> Hi,
>
> thanks for answering.
>
> On Friday, 7 October 2016 10:44:02 CEST Vishesh Handa wrote:
> > Hey Martin
> >
> > Baloo is only designed for searching for files. It is not a meta-data
> > store. If the data you're extracting is present in the file, then it
> > could potentially be added to Baloo.
>
> It is not, I get that data from an external source (currently themoviedb).
>
> > The important thing to look at is how to present the data, and how
> > does the data help in searching. For example - providing the name of
> > an actor in a movie could make the movie popup when searching for that
> > name. This is great, however, the user needs to be given a clear
> > explanation of why that file is in the search results.
>
> Agreed, the dream actually is creating something along the lines of the
> multimedia library described on the nepomukport page[1] for potential use
in
> Plasma Media Center.
>
> I found https://community.kde.org/Baloo/Architecture since my email, and
am
> now thinking of creating a new data/search store plugin.
>

Ignore this.

Actually ignore all docs you find online on any wiki. It is too old. The
git repo is the only thing that is valid.

> > Our main search interface, krunner, isn't designed to provide this
> > additional context. Therefore, adding actor information, is not
> > something I would want to ship.
>
> Understood.
>
> I'd like to ask for a few pointers though :
> Does documentation on how to write new search/store plugins exist?
> From what I understood, I'll have to take care of storing the data
myself. I
> see that baloo uses LMDB, Xapian and SQLite. Any pointers as to which db
> system (or a completely different one) is well adapted to this kind of
use? At
> the moment I tend to lean towards LMDB, but have no real technical
argument
> for it...

Basically I would recommend looking at this from the presentation and
usability side first. Technology later.

Do you want some kind of kioslave? Through Krunner? Something else? What
kind of workflow and what kind of users.

Once this is more clear, you can figure out which is the best way to go
about what you want.

>
> Thanks,
>
> Martin
>
> [1] https://community.kde.org/Baloo/NepomukPort#Bangarang

[Attachment #3 (text/html)]

<p dir="ltr"></p>
<p dir="ltr">On Oct 7, 2016 12:07, &quot;Martin Bednar&quot; &lt;<a \
href="mailto:serafean@gmail.com">serafean@gmail.com</a>&gt; wrote:<br> \
&gt;<br> &gt; Hi,<br>
&gt;<br>
&gt; thanks for answering.<br>
&gt;<br>
&gt; On Friday, 7 October 2016 10:44:02 CEST Vishesh Handa wrote:<br>
&gt; &gt; Hey Martin<br>
&gt; &gt;<br>
&gt; &gt; Baloo is only designed for searching for files. It is not a \
meta-data<br> &gt; &gt; store. If the data you&#39;re extracting is present \
in the file, then it<br> &gt; &gt; could potentially be added to Baloo.<br>
&gt;<br>
&gt; It is not, I get that data from an external source (currently \
themoviedb).<br> &gt;<br>
&gt; &gt; The important thing to look at is how to present the data, and \
how<br> &gt; &gt; does the data help in searching. For example - providing \
the name of<br> &gt; &gt; an actor in a movie could make the movie popup \
when searching for that<br> &gt; &gt; name. This is great, however, the \
user needs to be given a clear<br> &gt; &gt; explanation of why that file \
is in the search results.<br> &gt;<br>
&gt; Agreed, the dream actually is creating something along the lines of \
the<br> &gt; multimedia library described on the nepomukport page[1] for \
potential use in<br> &gt; Plasma Media Center.<br>
&gt;<br>
&gt; I found <a href="https://community.kde.org/Baloo/Architecture">https://community.kde.org/Baloo/Architecture</a> \
since my email, and am<br> &gt; now thinking of creating a new data/search \
store plugin.<br> &gt;</p>
<p dir="ltr">Ignore this.</p>
<p dir="ltr">Actually ignore all docs you find online on any wiki. It is \
too old. The git repo is the only thing that is valid.</p> <p \
dir="ltr">&gt; &gt; Our main search interface, krunner, isn&#39;t designed \
to provide this<br> &gt; &gt; additional context. Therefore, adding actor \
information, is not<br> &gt; &gt; something I would want to ship.<br>
&gt;<br>
&gt; Understood.<br>
&gt;<br>
&gt; I&#39;d like to ask for a few pointers though :<br>
&gt; Does documentation on how to write new search/store plugins exist?<br>
&gt; From what I understood, I&#39;ll have to take care of storing the data \
myself. I<br> &gt; see that baloo uses LMDB, Xapian and SQLite. Any \
pointers as to which db<br> &gt; system (or a completely different one) is \
well adapted to this kind of use? At<br> &gt; the moment I tend to lean \
towards LMDB, but have no real technical argument<br> &gt; for it...</p>
<p dir="ltr">Basically I would recommend looking at this from the \
presentation and usability side first. Technology later.</p> <p \
dir="ltr">Do you want some kind of kioslave? Through Krunner? Something \
else? What kind of workflow and what kind of users.</p> <p dir="ltr">Once \
this is more clear, you can figure out which is the best way to go about \
what you want.</p> <p dir="ltr">&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Martin<br>
&gt;<br>
&gt; [1] <a href="https://community.kde.org/Baloo/NepomukPort#Bangarang">https://community.kde.org/Baloo/NepomukPort#Bangarang</a><br></p>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic