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 it be possible in the web UI to have an "expert" setting/field where you can manually enter the full sphinx MATCH() string for more precise results (while still utilizing the other advanced search fields)? The sphinx query language allows quite a bit more flexibility and I'm finding myself using pilerexport's -w flag to get a read on match numbers versus querying in the web UI because of this limitation (even though you CAN overload the fields to an extent)
It's possible with a little tweak, I'll add it soon, but it makes sense only for auditors. Otherwise it breaks security.
2a. Overloading the web UI search fields with a more complex query, or even simply utilizing "quotes" in the field appears to break the "sphinx" query viewing link. This appears to be just a simple need for some escaping on the front-end.
I've fixed the issue with this commit: https://bitbucket.org/jsuto/piler/commits/dacb7c85aa7654c70f97c9bd4dc80a52913d842a Janos