QueryContext function ( ) { this . tradeCorrectnessForSpeed = true ; return this ; }
adding to or removing from an index affects results from query methods inside the same transaction , even before those changes are committed . to let those modifications be visible in query results , some rather heavy operations may have to be done , which can be slow to complete . the default behavior is that these modifications are visible , but using this method will tell the query to not strive to include the absolutely latest modifications , so that such a performance penalty can be avoided . concode_field_sep Sort sorting concode_elem_sep Operator defaultOperator concode_elem_sep boolean tradeCorrectnessForSpeed concode_elem_sep int topHits concode_elem_sep Object queryOrQueryObject concode_field_sep QueryContext sortByScore concode_elem_sep boolean getTradeCorrectnessForSpeed concode_elem_sep QueryContext top concode_elem_sep QueryContext numericRange concode_elem_sep QueryContext numericRange concode_elem_sep QueryContext defaultOperator concode_elem_sep int getTop concode_elem_sep QueryContext sort concode_elem_sep QueryContext sort concode_elem_sep Operator getDefaultOperator concode_elem_sep Object getQueryOrQueryObject concode_elem_sep QueryContext sortNumeric concode_elem_sep Sort getSorting