: Huh, does !term in 4.0 mean the same thing as !field in 1.4? What you : describe as !term in 4.0 dev is what I understand as !field in 1.4 doing.
There is a subtle distinction between {!field}, {!raw}, and {!term} which i attempted to explain on slides 26 and 43 in this presentation... http://people.apache.org/~hossman/apachecon2010/facets/ (you can use the HTML controls or "print preview" to view the notes i had when giving it) The nutshell explanation... when building filter queries from facet constraint values: * {!field} works in a lot of situations, but if you are using an analyzer on your facet field, there are some edge cases were it won't do what you expect. * {!raw} is truely raw terms, which works in almost all cases where you are likely using facet.field -- but it's too raw for some field types that use binary term values (like Trie) * {!term} does exactly what you would expect/want in all cases when your input is a facet constraint. it builts a term query from the human readable string representation (even if the internal representation is binary) -Hoss