|
I have performance problems on the faceted search. To perform facet on field annotated as "indexed embedded" I spend about 4 minutes of elaboration!
My main beans structure is similar to:
@Indexed @ClassBridge(name = "customClassBridge", impl = MyCustomClassBridge.class) class MyFactBean { @ID UUID id; Date from; Date to; @IndexedEmbedded BeanType1: sourceItemType1; @IndexedEmbedded BeanType2: sourceItemType2; @IndexedEmbedded BeanType3: sourceItemType3; @IndexedEmbedded BeanType1: destinationItemType1; @IndexedEmbedded BeanType2: destinationItemType2; @IndexedEmbedded BeanType3: destinationItemType3; ... other fields are not indexed }
class BeanTypeBase() { @ID UUID id, @Field() // variable length - max length=16 String value; }
@Cacheable class BeanType1 extends BeanTypeBase{} @Cacheable class BeanType2 extends BeanTypeBase{} @Cacheable class BeanType3 extends BeanTypeBase{}
|