: Is the parsedquery_ToString, the one passed to solr after all the tokenizing : and analyzing of the query?
yes. : For the search term 'chapter 7' i have this parsedquery_ToString ... : I have these synonyms : chap 7 => bankruptcy ... : But seem to have a little bit of trouble understanding how its building this : parsedquery_Tostring 1) if you really want to understand the lucene query structure built by the dismax handler, you should definitely start with some simpler queries (without synonyms) .. the query structure is definitely non trivial, and requies some "expert level" reading. 2) you should read the disclaimer in the wiki about using synonyms that involve multiple words .. applying them at query time is not a good idea for several reasons, one of which is causing your problems. do them at indexing time instead... http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#SynonymFilter -Hoss