Prototype of Query index.