On 10 August 2018 at 19:16,  <[email protected]> wrote:
>
> Hello,

Hi,

> I am new to Perkeep and have some questions that I could not find answer to
> and would appreciate any tips!
>
> 1. How do I perform a text search in Parkeep? I have added some text/plain
> and text/html files but cannot figure out how to search for strings inside
> them.

You cannot, yet.
https://github.com/perkeep/perkeep/issues/580

> 2. I would like to be able to search on the Exif metadata associated with
> any image. I have added some photos taken with my iPhone and I can see the
> geo-coordinates being parsed, but I would like to search by any of the
> properties such as camera maker, model, exposure, ISO, etc.

We do index all the exif tags (you can find them with the prefix
"exiftag" in your index DB), but we haven't exposed them in any way to
the search queries, so I don't think you can do that kind of thing
either yet.
Related: https://github.com/perkeep/perkeep/issues/778

> 3. Similar to #2, I would like to add music files and include the ability to
> search by the ID3 tags associated with the file.

Here it's a little better: we do index id3, and we do expose them to
search, but there is no handy search predicate for them
(https://perkeep.org/doc/search-ui), so you have to build search
constraints.
either with 'pk search', or as a "raw" predicate in the search bar. For example:
raw:{"permanode": {"attr": "camliContent", "valueInSet": {"file":
{"mediaTag": {"tag": "title", "string": {"hasPrefix": "Bohemian"}}}}}}
would give you the permanodes for the files which have an ID3 title
starting with "Bohemian".

> 4. Say I ingest my tweets or other social media posts, I would like to
> search for say "radiohead" and be able to return tweets where I have
> mentioned that name *and* my music files with that name in an ID3 tag.

As a corollary of the previous questions, you can only do the second
part that request for now.

> 5. Does the search support a faceted type query, where I search for
> "radiohead" and in the result set, I see I have 12 items of type tweet and
> 300 items of type file mp3?

Yes, I think you're asking for the search constraints/query I mentioned above.
See https://perkeep.org/pkg/search#SearchQuery and the 'pk search' command.

> Are these items possible and aligned with the goals of Perkeep? I don't want
> to stick a square peg in a round hole.

Yes, they're very much the kind of things we want to do, eventually.

> Thanks!

hth,
Mathieu

> --
> 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.

-- 
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.

Reply via email to