The standard way that Solr
builds the index is with an Inverted index
, this makes search very fast & efficient.Well I am clear with Inverted
& Backward
indexes, but why Inverted Index is not good when it comes for Faceting
or Sorting
the data ? I Googled it, but got no satisfactory explanation.
PS : We use DocValues field type for fields needs to be used while Faceting or Sorting (DocValue fields are now column-oriented fields with a document-to-value mapping built at index time).
Anyone has got a clear explanantion for this ? Thanks