Re: Pilerexport attachment numbers plus advanced querying

2021-05-02 Thread sj
Hello Ryan, On 2021-05-02 01:15, Ryan Blenis wrote: 1. Is there a way to have the pilerexport dry run output the number of attachments linked to the query? Just to clarify. Let's say you have 10 matching emails with 15 attachments total, and you want pilerexport to print 15? 2. Would

Re: Pilerexport attachment numbers plus advanced querying

2021-05-02 Thread Ryan Blenis
Hi Janos, On Sun, May 2, 2021 at 2:24 AM wrote: > > > Hello Ryan, > > On 2021-05-02 01:15, Ryan Blenis wrote: > > > 1. Is there a way to have the pilerexport dry run output the number of > > attachments linked to the query? > > Just to clarify. Let's say you have 10 matching emails with 15 >

Re: Pilerexport attachment numbers plus advanced querying

2021-05-02 Thread sj
OK, this commit gives you the raw: label: https://bitbucket.org/jsuto/piler/commits/7b47ce3ca20f9f4ab3234afd6641fe364eaedbc6 Whatever you enter after 'raw:', it will be inside the MATCH('') clause. Janos On 2021-05-02 09:15, Ryan Blenis wrote: Hi Janos, On Sun, May 2, 2021 at 2:24 AM

Re: Pilerexport attachment numbers plus advanced querying

2021-05-02 Thread Ryan Blenis
Perfect. Thank you so much again! On Sun, May 2, 2021 at 3:04 PM wrote: > > > The main search query is equivalent in capabilities with the 'advanced' > search. > In fact I personally consider it the preferred way to search. See the > examples > at

Re: Pilerexport attachment numbers plus advanced querying

2021-05-02 Thread Ryan Blenis
Ah I see, the "raw: " is in the main search query but not applicable to advanced searches where you can combine the query with dates and / or attachment preferences. Is there any way to utilize it in the advanced search (I would imagine "Raw:" would replace To, From, Subject, and Body- as those

Re: Pilerexport attachment numbers plus advanced querying

2021-05-02 Thread sj
The main search query is equivalent in capabilities with the 'advanced' search. In fact I personally consider it the preferred way to search. See the examples at https://www.mailpiler.org/wiki/current:using-the-gui Also consider the below query how to use it: a:pdf raw: @subject test

Re: Pilerexport attachment numbers plus advanced querying

2021-05-02 Thread Ryan Blenis
Hi Janos, Thank you! The number of attachments seems to be working perfectly, the "raw" updates don't seem to work, but maybe I'm misunderstanding the implementation. There's no new "Raw" field in the advanced search, so I tried putting "raw: testing" in the Body search field, but the sphinx