18. The computer program product of claim 14 , wherein the computer readable program when executed on a computer causes the computer to: in response to determining that the document does have an entry in the text index, delete the entry; and add a new entry for the document in the text index.
14. A computer program product comprising a computer-readable storage medium including a computer readable program, wherein the computer-readable medium is a member of a set of computer readable media consisting of a semiconductor or solid state memory, a magnetic tape, a removable computer diskette, a rigid magnetic disk, an optical disk, a magnetic storage medium, and volatile and non-volatile memory devices, wherein the computer readable program when executed by a processor on a computer causes the computer to: store one or more entries for valid documents and one or more entries for error documents in a documents portion of a text index and storing tokens from the valid documents in a posting lists portion of the text index, wherein each of the entries includes a first field and a second field, wherein the first field for a valid document is indexable and stores one or more tokens forming document text, wherein the first field for an error document is not indexable and stores an error message, and wherein the second field stores an indication of whether the document is an error document; fetch a document with a document identifier; and in response to determining that the document is an error document, add an entry in the documents portion of the text index that includes an error message in a field that is not searchable in response to a search request using one or more tokens to locate one or more documents indexed by the text index.