added boolean field "indexed" to document to mark indexing status.
added boolean field "indexed" to document to mark indexing status.