Hi, On Tue, Sep 04, 2018 at 10:10:40PM +0200, Mathieu Lonjaret wrote: > Good job figuring out the search queries. :-)
Thanks. I also figured out this morning, why the search didn't work when using the "Expression" field of SearchQuery instead of an explicit constraint. Apparently, to use "filename:..." a permanode for the file has to exist. It also doesn't work if I just "pk put file" a file and then do "pk search filename:...". If I upload a file in the web UI, it creates a permanode, after which pk search can find the file. It's a little puzzling to me that it works like it does. I was under the impression that a simple search expression would be parsed and then essentially be equivalent to my explicit search query. > And I don't think LoadAllChunks is necessary. What's it good for then? > btw, you can also inspire yourself from all the other existing 3rd > party clients within the project to see how they interact with the > API, namely: the web UI (server/perkeepd/ui), and the apps > (app/publisher and app/scanningcabinet). I will certainly do that. Thanks for all your help :-) Regards, Chris -- Nothing to see here. Move along. -- You received this message because you are subscribed to the Google Groups "Perkeep" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
