9. Apparatus for preparing an inverted index with access control information, comprising: a memory storing entity data for a plurality of entities, each entity represented by a document including searchable content and metadata indicating field names for at least some of the searchable content, and for each entity, one or more tokens indicating pairs of a permissible and corresponding fields the permissible is allowed to search; and a processor configured to define, for each document, one or more records, each record including an indication of a permissible, and a copy of a sub-portion of the searchable content of the document, including the entire searchable content of the entity that the permissible is allowed to search and not including the content of the document that the permissible is not allowed to search, and to create an inverted index for the plurality of entities, for the searchable content, the metadata, the tokens and the records.
9. Apparatus for preparing an inverted index with access control information, comprising: a memory storing entity data for a plurality of entities, each entity represented by a document including searchable content and metadata indicating field names for at least some of the searchable content, and for each entity, one or more tokens indicating pairs of a permissible and corresponding fields the permissible is allowed to search; and a processor configured to define, for each document, one or more records, each record including an indication of a permissible, and a copy of a sub-portion of the searchable content of the document, including the entire searchable content of the entity that the permissible is allowed to search and not including the content of the document that the permissible is not allowed to search, and to create an inverted index for the plurality of entities, for the searchable content, the metadata, the tokens and the records. 10. The apparatus of claim 9 , wherein the tokens comprise access control list (ACL) tokens.