a hierarchical recurrent encoder - decoder for generative context - aware query suggestion .
The query-flow graph: model and applications