We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d37ab commit e12fedcCopy full SHA for e12fedc
src/main/java/com/alipay/oceanbase/rpc/table/ObTableClientQueryImpl.java
@@ -174,6 +174,11 @@ private AbstractQueryStreamResult commonExecute(InitQueryResultCallback<Abstract
174
// Currently, fulltext query only support scan all partitions
175
tableQuery.getKeyRanges().clear();
176
tableQuery.addKeyRange(ObNewRange.getWholeRange());
177
+ if (tableQuery.getIndexName() == null || tableQuery.getIndexName().isEmpty()
178
+ || tableQuery.getIndexName().equalsIgnoreCase("primary")) {
179
+ throw new IllegalArgumentException(
180
+ "use fulltext search but specified index name is not fulltext index");
181
+ }
182
}
183
184
// init partitionObTables
0 commit comments