: > query = (A:testrank AND B:testrank AND C:testrank)^10 OR (A:testrank AND : > B:testrank)^9 OR (A:testrank AND C:testrank)^8 OR (B:testrank AND : > C:testrank)^7 OR (A:testrank)^6 OR (B:testrank)^5 OR (C:testrank)^4 : > sort = by Score (primary), Field D (Secondary) : > : > Also, I do need to override Similarity such that tf, idf etc doesn't : > interfere; and all docs should score purely based on boost values, I have : > specified. That way seconday sort can be effective.
the way you've phrased your question leads me to believe you haven't checked out function queries ... factoring one based on field D into your query and then just sorting straight up on score should get you fairly close to what you wnat (probably without needing to much with your Similarity class) -Hoss