added the question and answer boosted option for querying. not sure if formatting/commenting is in line with what you want - please let me know what you'd like me to fix
I dont' know if you see this comment -- the only one I didn't fix was the 1f to 1.0 because 1.0 is Double and I need it to be a float for elasticSearch, so I changed it to 1.0f if that's ok?
added the question and answer boosted option for querying. not sure if formatting/commenting is in line with what you want - please let me know what you'd like me to fix