Setting Query Options in Java OJAI

This topic describes how to set query options in your Java OJAI application.

See OJAI Query Options for a list of available query options.

To set an option, pass the option name as the first parameter to the Query.setOption method:

query.setOption("ojai.mapr.query.hint-using-index", indexName);