Hi Adrien:
    Thank you for your help. now i can get  the textual email address as
what you said.
>As far as I know plain text content of messages is not exported anymore
>to Tracker, because it stressed evolution too much. This is a temporary
>situation though.
    we will not implement full text search about  content of messages by
tracker  any more. all right?
if i want to do it, can you give me advice?

Thank your very much !


在 2010年9月21日 下午5:18,Adrien Bustany <abust...@gnome.org>写道:

> Le Tue, 21 Sep 2010 11:34:47 +0800,
> 孤云独闲 <tomsunc...@gmail.com> a écrit :
>
> > Hi everyone:
> >
> >     I came across difficult about t search email in tracker. I
> > executed below command:
> >     #tracker-sparql  -q  "SELECT nie:url(?s) nmo:messageSubject(?s)
> > nmo:from(?s) nmo:plainTextMessageContent(?s) WHERE{ ?s
> > nmo:messageSubject 'wangzhi'}"
> > Then got below messages:
> >
>  
> email%3A%2F%2F1280907738.12500.1%40localhost.localdomain/%E7%BD%91%E7%AB%99/1206688162,
> > wangzhi, urn:uuid:ff907c12-c984-c15f-2001-cdfbfe2f16f6,
> >
> >
> email%3A%2F%2F1280907738.12500.1%40localhost.localdomain/%E7%BD%91%E7%AB%99/1206688163,
> > wangzhi, urn:uuid:ebbd6c08-00b6-7875-9f32-5976c885be1a,
> >     a. i want to get url  format  that  the evolution can open. but  "
> >
> email%3A%2F%2F1280907738.12500.1%40localhost.localdomain/%E7%BD%91%E7%AB%99/1206688162"
> > is not what i want . why ?
> I don't know the answer to this one :)
>
> >     b. i want to know  the sender and receiver email address(example
> > for tomsunc...@gmail.com ) by nmo:from(?s) and nmo:to(?s). but that
> > return " urn:uuid:ff907c12-c984-c15f-2001-cdfbfe2f16f6", how  i
> > change it to email address?
> What you got is the URN of a nco:PersonContact, that is, a "contact"
> object. This contact can have one or more hasEmailAddress predicates
> that point to EmailAddress objects (as far as I remember), and those
> EmailAddress objects have one "emailAddress" predicate that holds the
> textual email address (like f...@bar.org).
>
> >     c. if i need to get the contents of email, what should i do ?  i
> > found nmo:plainTextMessageContent is not indexed,
> > nie:plainTextContent is indexed, whether nmo:plainTextMessageContent
> > or nie:plainTextContent, it always return nothing. why? what should i
> > do ?
> >
> >     if i execute below command:
> >     tracker-sparql  -q  "SELECT ?s WHERE{ ?o nmo:to ?s;
> > nmo:messageSubject 'wangzhi'}"
> >    i think it should return  above information,but there is no result
> > to return. why?
> As far as I know plain text content of messages is not exported anymore
> to Tracker, because it stressed evolution too much. This is a temporary
> situation though.
>
> >
> > Thank you very much!
> >
>
> Cheers
>
> Adrien
>



-- 
Best Regards,
tomsun
_______________________________________________
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to