[Nepomuk] [RFC] Better Full text search
Christian Mollekopf
chrigi_1 at fastmail.fm
Sat May 4 14:20:23 UTC 2013
On Saturday 04 May 2013 16.17:56 Ivan Čukić wrote:
> > <res> nie:plainTextContent "title artist album whatevereElse" .
>
> For me, the plainTextContent of a song would be the lyrics. This seems like
> a misuse of the property. With a very good reason behind it, but still a
> misuse.
It's actually a property specifically for this purpose:
"Plain-text representation of the content of a InformationElement with all
markup removed. The main purpose of this property is full-text indexing and
search. Its exact content is considered application-specific. The user can make
no assumptions about what is and what is not contained within. Applications
should use more specific properties wherever possible."
Cheers,
Christian
>
> I remember when I wanted to keep all activities in one string property as a
> \n terminated list to make it speedy :D
>
> I'd say go for it, but only as a last resort.
>
> Cheers
>
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
More information about the Nepomuk
mailing list