Hi All,
I'm using the graph query parser to traverse a set of edge documents. An
edge looks like

"id":"edge1", "recordType":"journey", "Date":"2021-03-04T00:00:00Z", "Origin
":"AAC", "OriginLocalDateTime":"2021-03-04T05:00:00Z", "Destination":"AAB",
"DestinationLocalDateTime":"2021-03-04T07:00:00Z"

I'd like to collect  journeys needed to travel from an origin city to a
destination city in a single hop (a-b-c) where all journeys are made on the
same day. I'm using a traversal filter to achieve this on the same day
criteria but the function field parameter which I'm expecting to return the
document's date value is being ignored....
For example a query to get all journeys from AAA to AAB is:

q={!graph
   maxDepth=1
   from=Origin
   to=Destination
    traversalFilter='Date:{!func}Date'
} Origin:AAA  & fq= DestinationAirportCode:AAB || originAirportCode:AAA

What is the correct approach for this problem?

Cheers Lee C

Reply via email to