concept collapse query parser in category solr

This is an excerpt from Manning's book Solr in Action.
The Collapsing query parser provides the ability to remove duplicate documents (documents containing identical values in some field you specify) from a set of search results. This capability, called field collapsing, can be very useful for ensuring diversity among your search results. There are two ways to achieve field collapsing in Solr. The first is by using a larger suite of capabilities called result grouping, which enables you to group all documents with identical values in a field and only return a specifiable number of documents per group. The other way to collapse documents to a unique field value is by utilizing the Collapsing query parser. The topic of result grouping/field collapsing has a dedicated chapter (chapter 11) later in the book, so you can find all of the specifics on how to use the Collapsing query parser in section 11.7.
Solr 4.6 introduced the Collapsing query parser (CollapsingQParserPlugin), which enables you to collapse search results to a single result per unique field value without the complexity of invoking the full result grouping stack. This capability can be invoked just as any other query parser: