Article Index should be stored "in memory" for test cases

This commit is contained in:
Mohsin Husen 2013-06-10 10:29:00 +01:00
parent 2e43fc0ac2
commit dd12461257

View File

@ -14,7 +14,7 @@ import static org.springframework.data.elasticsearch.annotations.FieldType.Strin
/**
* Simple type to test facets
*/
@Document(indexName = "articles", type = "article", shards = 1, replicas = 0, refreshInterval = "-1")
@Document(indexName = "articles", type = "article", shards = 1, replicas = 0, refreshInterval = "-1", indexStoreType = "memory")
public class Article {
@Id