Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] swishdescription not showing in search results

From: at <Peter>
Date: Tue, 23 Oct 2012 20:46:37 -0500
Troy Wical wrote on 10/23/12 4:40 PM:
> Seem to be getting the same results. Being plain text files, is TXT not more
> appropriate?

since you're using the MailFS aggregator, it delegates SWISH::Prog::Doc creation
to the Mail aggregator, which generates XML versions of all mail it finds. The
TXT parser knows nothing about fields, so you can't search by Subject, To, From,
etc. XML knows about fields. So your mail gets converted to semantically
meaningful XML before being passed to swish-e.

See e.g.
https://metacpan.org/source/KARMAN/SWISH-Prog-0.64/lib/SWISH/Prog/Aggregator/Mail.pm#L230


-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Oct 24 2012 - 01:46:40 GMT