6. The system of claim 1 , wherein the processor generates at least one of the one of more entries of the multidimensional inverted index prior to receiving the query.
1. A system for searching, comprising: a processor; and a memory coupled to the processor for storing instructions which, when executed from the memory, cause the processor to: generate a multidimensional inverted index for a collection of documents, the index having two or more entries, each document being associated with at least one facet, by: creating the two or more entries by associating a combination of two or more facets with a posting list, for each of the two or more entries, determining documents associated with respective facets of the combination of two or more facets of each entry, and for each of the two or more entries, creating a posting list of indications for the documents associated with respective facets of each entry, each indication identifying a document; receive a query including first and second facets and one or more non-index terms; determine a format of the multidimensional inverted index, wherein the format includes an order of the two or more facets in the multidimensional inverted index, the two or more facets including the first and second facets; normalize the query to conform to the format of the multidimensional inverted index, wherein the normalizing includes reordering the first and second facets in the query, the reordered first and second facets having the same order as the two or more facets in the multidimensional inverted index; search the multidimensional inverted index using the normalized query for an entry having a combination of two or more facets that matches the first and second facets included in the query; identify, based on the searching the multidimensional inverted index, a set of documents having the combination of the first and second facets included in the query; search the set of documents for the one or more non-index terms; generate a search result, wherein the search result includes only documents of the set of documents that include the one or more non-index terms; and return the search result.