> I am trying to boost results that have all the query > in it to increase its ranking. But both the query unfortunately does not > > seems to effect it
Did you read last two messages on this thread? http://www.nabble.com/Generating-Query-for-Multiple-Clauses-in-a-Single-Field-td24694748.html And do not forget to use your new similarity class in both indexing and searching. IndexSearcher.setSimilarity and IndexWriter.setSimilarity. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org