Skip to content

Commit

Permalink
Allow using Lucene text indexes on mutable MV columns. (apache#11093)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkrodrigues authored Jul 12, 2023
1 parent 4e1c8fc commit b393299
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ public MutableIndex createMutableIndex(MutableIndexContext context, TextIndexCon
if (config.isDisabled()) {
return null;
}
if (!context.getFieldSpec().isSingleValueField()) {
return null;
}
if (config.getFstType() == FSTType.NATIVE) {
if (!context.getFieldSpec().isSingleValueField()) {
return null;
}
return new NativeMutableTextIndex(context.getFieldSpec().getName());
}
if (context.getConsumerDir() == null) {
Expand Down

0 comments on commit b393299

Please sign in to comment.