# Index strategy for non retantion data and huge dataset

**URL:** <https://discuss.elastic.co/t/index-strategy-for-non-retantion-data-and-huge-dataset/214477>\
**Category:** Elasticsearch\
**Created:** [January 9, 2020, 6:37pm UTC](https://discuss.elastic.co/t/index-strategy-for-non-retantion-data-and-huge-dataset/214477 "2020-01-09T18:37:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sweb/32/51885_2.png) [@sweb](https://discuss.elastic.co/u/sweb)\
**Post date:** [January 9, 2020, 6:37pm UTC](https://discuss.elastic.co/t/index-strategy-for-non-retantion-data-and-huge-dataset/214477/1 "2020-01-09T18:37:22Z")

</div>

I have many content sites and their produce about 1000 content per day, and many of them now is has about 3 million records.

Sample document:

```json
{
  "website_id": 10,
  "title": "Sample title",
  "description": "Sample descriptions",
   "body": "this is body of content",
  "date": "2020-01-09T18:27:57.738Z",
  "tags": ["sample", "tag"],
  "users_visits": 123045,
  "users_comments": 120,
  "users_rate": 4.3
}

```

I need to know how i design my indexes for full text search:

- There is no retention or historical content always all data must be searchable so i cannot create index with archive or etc content even maybe in past will be update and must be searchable
- I want search full text search on text fields
- I want filter by tags
- Default filter is always use website\_id but it's could be remove or some sites together.
- Default order is **date** descending + filters
- Also order could be by numeric rates like : **users\_visits** and **users\_comments** and **users\_rate**.

Questions:

- Index strategy ?
- Cluster requirement how many nodes
- Hardware suggestion, storage and cpu ram ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 6, 2020, 6:37pm UTC](https://discuss.elastic.co/t/index-strategy-for-non-retantion-data-and-huge-dataset/214477/2 "2020-02-06T18:37:22Z")

</div>

Closed on February 6, 2020, 6:37pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
