concept all field in category search

This is an excerpt from Manning's book Relevant Search: With applications for Solr and Elasticsearch.
A query is typically structured so that several fields are searched at once. As a relevance engineer, you can apply numerical boosts to the fields to indicate how important you feel each field should be. For instance, you might index the title field twice: once with a standard analysis, and another time to incorporate common misspellings. In this case, a match on the non-misspelled fields should be weighted much more highly than the field with misspellings. The scores across all fields are then combined either by summing them or taking the value of the highest-scoring field.
Finally, the relevance engineer may choose to apply an additional multiplicative or additive boost based on the numerical value of a field or the numerical value of a function that itself uses values from one or more fields. This is where the “business logic” of search often comes into play. In our example movie search, it’s probably advantageous to boost more-popular movies because they tend to sell better than older movies. Therefore, you can declare the final score to be the score across all fields (last paragraph) multiplied by whatever value is in the popularity field. Or, if this is too powerful of a boost, you can craft a function that more subtly boosts the final score by popularity (for instance, you can take the logarithm of the popularity field).
Custom all fields are static, created as documents are being indexed. In contrast, a cross_fields search is dynamic, addressing signal discordance at query time. It does this by becoming a dismax-style query parser on steroids. The ranking function of cross_fields remains identical to the query parser approach, with one important modification: the cross_fields query temporarily modifies the search term’s document frequency, field by field, before searching. If the term shatner is particularly common in the fields being searched, except for one troublesome field such as directors.name, then that troublesome field will be lied to and given a larger document frequency. This attempts to solve signal discordance, albeit in a way that could be less accurate than an all field.
Custom all fields solve the problem of term-centric search at index time. The approach does this by directly combining the fields you’d like to search into a single field. After all, you can’t have problems with multifield, field-centric search if you have only one field! The name all fields comes from the idea that you can copy fields together into a single field referred to as an all field. This has also been called copy fields in the Solr and Elasticsearch communities. For example, you could combine our troublesome name fields cast.name and directors.name into a more general people.name field by using the search engine’s ability to append multiple fields together at index time.

This is an excerpt from Manning's book Lucene in Action, Second Edition.
The details of text extraction are in chapter 7 where we describe the Tika framework, which makes it almost too simple to extract text from documents in diverse formats. Once you have the text you’d like to index, and you’ve created a document with all fields you’d like to index, all text must then be analyzed.
In tables 13.4 and 13.5, we can see that either for conjunction and disjunction Lucene performance decreases with the number of fields. To answer queries across a number of fields, Lucene expands the query by concatenating each field name to each keyword. For example, for a query with two keywords over 64 fields, the Lucene MultiFieldQueryParser (covered in section 5.4) will expand the query to 2 x 64 = 128 query terms. In SIREn, there’s no query expansion. The worst case will be 2 (keyword terms) + 64 (field terms) = 66 query terms—and only 2 if search is performed across all fields (that is, when a field wildcard is used because no field terms have to be intersected with the keyword terms).