protected BaseGaeSearchService( Class<T> type, SearchMetadata<T, K> metadata, SearchConfig searchConfig, IndexNamingStrategy indexNamingStrategy) { this.type = type; this.fieldMediators = searchConfig.getFieldMediators(); this.transformerManager = searchConfig.getTransformerManager(); this.indexTypeLookup = searchConfig.getIndexTypeLookup(); this.indexNamingStrategy = indexNamingStrategy; this.indexName = indexNamingStrategy.getName(type); this.metadata = metadata; }
protected BaseGaeSearchService( Class<T> type, SearchConfig searchConfig, IndexNamingStrategy indexNamingStrategy) { this( type, new SearchMetadata<T, K>(type, searchConfig.getIndexTypeLookup()), searchConfig, indexNamingStrategy); }