Support API search
tgherzog opened this issue · comments
Tim Herzog commented
Tim Herzog commented
Here's the sample search query from the help desk:
Tim Herzog commented
I'm thinking an interface like this:
def search(phrase, labels=False, fields=False):
- phrase: search phrase
- labels: include names of matching results, for ones that map to concepts
- fields: include metadata fields and their values (in which the matches were found)
Returns: a generator of metadata objects