|
|
|
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:
{code} @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 } {code} {code} class BeanTypeBase(){ @ID UUID id, @Field() // variable length - max length=16 String value; } {code} {code} @Cacheable class BeanType1 extends BeanTypeBase{} {code}
{code} @Cacheable class BeanType2 extends BeanTypeBase{} {code}
{code} @Cacheable class BeanType3 extends BeanTypeBase{} {code}
|
|
|
|