Several things about your message don't make sense... 1) the field names listed in your "qf" don't match up to the field names in the generated query.toString() ... suggesting that they come from differnet examples
2) the query.toString() output from each of your queries are identicle, and yet you claim both the input q strings and the results were different. 3) the query.toString() you provided for the 'unquoted" example doesn't make sense -- there's no reason the dismax parser would have generated a query structure like that unless your query string was allready quoted. ...all of this suggests major disconnect from what you're actually tried and what you've pasted in your email ... probably just the result of trying different things and getting confused about the results and then mixxing them up when asking your question. can you try testing the various options again, and please include the actaul, raw, urls along with the cut/past output from debugQuery (we probably don't need to the explain section) It would also be helpful to see the schema.xml section for the fields/fieldtypes you are using. : When I search for : : q = Here, there be dragons : qf = title^2.0 body^0.8 : qt = dismax : : Which is parsed as : : +DisjunctionMaxQuery((content:"here dragon"^0.8 | title:"here : dragon"^2.0)~0.01) () : : I get the document as the first hit which is what I'd suspect. : : However, if change the query to : : q = "Here, there be dragons" : : (with quotes) : : which is parsed as : : +DisjunctionMaxQuery((content:"here dragon"^0.8 | title:"here : dragon"^2.0)~0.01) () : : then I don't get the document at all. Which is not what I'd suspect. -Hoss