|
|
@@ -1583,7 +1583,8 @@ public class ObjectToDocumentUtils {
|
|
|
String.valueOf(prodComp.getUuid()), Store.YES));
|
|
|
}
|
|
|
if (prodComp.getCode() != null) {
|
|
|
- document.add(new StringField(
|
|
|
+ document.add(
|
|
|
+ new TextField(
|
|
|
ClassAndTableNameUtils.combineField(tableName, ProductComponentSimpleInfo.CODE_FIELD),
|
|
|
String.valueOf(prodComp.getCode()), Store.YES));
|
|
|
}
|