|
|
@@ -1540,7 +1540,7 @@ public class ObjectToDocumentUtils {
|
|
|
document.add(
|
|
|
new StringField(ClassAndTableNameUtils.combineField(tableName, ProductComponentSimpleInfo.CODE_FIELD),
|
|
|
String.valueOf(prodComp.getCode()), Store.YES));
|
|
|
- document.add(new TextField(
|
|
|
+ document.add(new StringField(
|
|
|
ClassAndTableNameUtils.combineField(tableName, ProductComponentSimpleInfo.BRAND_FIELD),
|
|
|
JSON.toJSONString(prodComp.getBrand()), Store.YES));
|
|
|
document.add(
|