Re: [Tracker] sparql function
- From: Martyn Russell <martyn lanedo com>
- To: Putinei Ionut <putineiionut gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] sparql function
- Date: Tue, 11 Dec 2012 16:16:37 +0000
On 10/12/12 18:34, Putinei Ionut wrote:
Hello,
Hello,
I have to implement a search on tracker sparql over a column holding how
a word is pronounced.
It is for asian characters.For example i have this string "äçä" that
is pronounced "LeJianTi".
When i do search i am refering to a operator "like" is have to search
to a valib group......so the first character must always be upper case.
Search for "Len" should return the result but the search after "eJian"
should not return nothing.
What i am thinking:
-write search function in sqlite engine for this job but i don't know
how to get that function to sparql layer.
Does sparql have some interface to implement for a new funtion?
Not dynamically sadly,
You would likely have to play with:
src/libtracker-data/tracker-db-interface-sqlite.c
and/or:
src/libtracker-data/tracker-sparql-expression.vala
to add a new function.
If you guys have another idea please share it.
Not at hand. Sorry.
--
Regards,
Martyn
Founder and CEO of Lanedo GmbH.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]