Re: [Tracker] Metadata search Tracker Gnome



OK, so i tried   mlo:city "Beaudesert" in the query box of the Tracker Gui.
No result. :-!
Therefore can i assume that Tracker Gui searches Metadata in images using a completely different method from Filename searches and Document Content Text searches? Alternatively, is it the case that image metadata is encoded in a way that it is not available to Tracker Gui text search? :-)
What do you mean by " fts property" ? O:-)
Cheers JohnB

On 27/09/11 00:35, Martyn Russell wrote:
On 26/09/11 14:27, John Bestevaar wrote:
Hi Martyn
Thanks for showing me the Terminal command to use. Lovely out-put
exactly as expected.
johnb johnb-desktop:~$ /usr/lib/tracker/tracker-extract -f
/home/johnb/Desktop/qpw.jpg
Initializing tracker-extract...
Initializing Storage...
Mount monitors set up for to watch for added, removed and pre-unmounts...
Found 'Data' mounted on path '/media/Data'
Adding mount point with UUID:'D2086AFE086AE149', removable: no, optical: no
Setting process priority
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-msoffice.so'
with:
Specific match for mime:'application/msword'
Specific match for mime:'application/vnd.ms-powerpoint'
Specific match for mime:'application/vnd.ms-excel'
Generic match for mime:'application/vnd.ms-*'
Specific match for
mime:'application/vnd.openxmlformats-officedocument.presentationml.presentation'

Specific match for
mime:'application/vnd.openxmlformats-officedocument.presentationml.slideshow'

Specific match for
mime:'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
Specific match for
mime:'application/vnd.openxmlformats-officedocument.wordprocessingml.document'

Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-abw.so' with:
Specific match for mime:'application/x-abiword'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-mp3.so' with:
Specific match for mime:'audio/mpeg'
Specific match for mime:'audio/x-mp3'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-text.so' with:
Generic match for mime:'text/*'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-flac.so' with:
Specific match for mime:'audio/x-flac'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-html.so' with:
Specific match for mime:'text/html'
Specific match for mime:'application/xhtml+xml'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-xmp.so' with:
Specific match for mime:'application/rdf+xml'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-ps.so'
with:
Specific match for mime:'application/x-gzpostscript'
Specific match for mime:'application/postscript'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-png.so' with:
Specific match for mime:'image/png'
Specific match for mime:'sketch/png'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-gstreamer.so'
with:
Generic match for mime:'audio/*'
Generic match for mime:'video/*'
Generic match for mime:'image/*'
Specific match for mime:'video/3gpp'
Specific match for mime:'video/mp4'
Specific match for mime:'video/x-ms-asf'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-pdf.so' with:
Specific match for mime:'application/pdf'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-vorbis.so' with:
Specific match for mime:'audio/x-vorbis+ogg'
Specific match for mime:'application/ogg'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-jpeg.so' with:
Specific match for mime:'image/jpeg'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-playlist.so'
with:
Specific match for mime:'audio/x-mpegurl'
Specific match for mime:'audio/mpegurl'
Specific match for mime:'audio/x-scpls'
Specific match for mime:'audio/x-pn-realaudio'
Specific match for mime:'application/ram'
Specific match for mime:'application/vnd.ms-wpl'
Specific match for mime:'application/smil'
Specific match for mime:'audio/x-ms-asx'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-tiff.so' with:
Specific match for mime:'image/tiff'
Adding
extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-oasis.so' with:
Generic match for mime:'application/vnd.oasis.opendocument.*'
<--- [1]
tracker_extract_get_metadata_by_cmdline(uri:'file:///home/johnb/Desktop/qpw.jpg',
mime:(null))
---- [1] Guessing mime type as 'image/jpeg' for
uri:'file:///home/johnb/Desktop/qpw.jpg'
---- [1] Extracting with
module:'/usr/lib/tracker-0.8/extract-modules/libextract-jpeg.so'
---- [1] Found 22 metadata items
---- [1] INSERT {
<urn:contact:John%20Bestevaar> a nco:Contact ;
nco:fullname "John Bestevaar" .
}
INSERT {
<urn:contact:John%20Bestevaar> a nco:Contact ;
nco:fullname "John Bestevaar" .
}

---- [1] a nfo:Image ;
a nmm:Photo ;
nfo:width 4608 ;
nfo:height 3072 ;
nmm:camera "NIKON CORPORATION NIKON D3100" ;
nfo:orientation nfo:orientation-top ;
nie:copyright "All rights reserved John Bestevaar" ;
nmm:whiteBalance nmm:white-balance-auto ;
nmm:fnumber 5.2999999999999998 ;
nmm:flash nmm:flash-off ;
nmm:focalLength 45 ;
nco:contributor <urn:contact:John%20Bestevaar> ;
nmm:exposureTime 0.016666666666666666 ;
nmm:isoSpeed 400 ;
nie:contentCreated "2011-02-14T12:12:34+0000" ;
nmm:meteringMode nmm:metering-mode-pattern ;
nco:creator <urn:contact:John%20Bestevaar> ;
mlo:location [ a mlo:GeoPoint ;
mlo:address "North Tamborine" ;
mlo:city "Beaudesert" ;
mlo:country "Australia"] .

Looks like it could just be that we don't include mlo:city in the search criteria - this would be because either:

1. mlo:city is not an fts property

or

2. we don't use mlo:city in queries.

I am quite sure we don't do #2.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]