Hi,

How can multiple fields be returned in graph traversal streaming expression
response documents? For example, the following query:

nodes(emails,
      walk="john...@apache.org->from",
      gather="to")


returns these documents in the response:

{
  "result-set": {
    "docs": [
      {
        "node": "sl...@campbell.com",
        "collection": "emails",
        "field": "to",
        "level": 1
      },
      {
        "node": "catherine.per...@enron.com",
        "collection": "emails",
        "field": "to",
        "level": 1
      },
      {
        "node": "airam.arte...@enron.com",
        "collection": "emails",
        "field": "to",
        "level": 1
      },
      {
        "EOF": true,
        "RESPONSE_TIME": 44
      }
    ]
  }
}

How can the query above be modified to return more document fields,
"subject" for example?

Best regards,

A.

Reply via email to