change httpadapter to DirectIndexedHttpAdapter