This is an automated email from the ASF dual-hosted git repository.
tingchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new b39329966f Allow using Lucene text indexes on mutable MV columns.
(#11093)
b39329966f is described below
commit b39329966f8aff7bf3d7e7b05fad5f78e07ebc6b
Author: kirkrodrigues <[email protected]>
AuthorDate: Wed Jul 12 19:34:16 2023 -0400
Allow using Lucene text indexes on mutable MV columns. (#11093)
---
.../pinot/segment/local/segment/index/text/TextIndexType.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/text/TextIndexType.java
b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/text/TextIndexType.java
index e01adb1927..a23d2f550e 100644
---
a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/text/TextIndexType.java
+++
b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/text/TextIndexType.java
@@ -183,10 +183,10 @@ public class TextIndexType extends
AbstractIndexType<TextIndexConfig, TextIndexR
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) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]