# Text search with large text (e.g. finance news?)

**URL:** <https://discuss.elastic.co/t/text-search-with-large-text-e-g-finance-news/18118>\
**Category:** Elasticsearch\
**Created:** [June 15, 2014, 4:58pm UTC](https://discuss.elastic.co/t/text-search-with-large-text-e-g-finance-news/18118 "2014-06-15T16:58:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillaume\_Couture](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guillaume_couture/32/1488_2.png) [@Guillaume\_Couture](https://discuss.elastic.co/u/Guillaume_Couture)\
**Post date:** [June 15, 2014, 4:58pm UTC](https://discuss.elastic.co/t/text-search-with-large-text-e-g-finance-news/18118/1 "2014-06-15T16:58:07Z")

</div>

Hi everyone!

Im using ES for 6-7 months and it is very great 🙂

I have a question. I have around 25k finance news indexed on my server.  
Using ES, that is very long to index and it takes a lot of GB and RAM too  
and search could be faster i think..

Should I change the way I index my news? I do it this way right now. Is  
there any better way?

'analysis' =\> [

> 'analyzer' =\> [

> 'indexAnalyzer' =\> [

> 'type' =\> 'custom',

> 'tokenizer' =\> 'keyword',

> 'filter' =\> ['lowercase', 'ngram\_filter'],

> 'char\_filter' =\> ['html\_strip']

> ],

> 'searchAnalyzer' =\> [

> 'type' =\> 'custom',

> 'tokenizer' =\> 'keyword',

> 'filter' =\> ['standard', 'lowercase', 'ngram\_filter'],

> 'char\_filter' =\> ['html\_strip']

> ],

> ],

> 'filter' =\> [

> 'ngram\_filter' =\> [

> 'type' =\> 'nGram',

> 'min\_gram' =\> 2,

> 'max\_gram' =\> 20

> ]

> ],

> 'char\_filter' =\> [

> 'html\_strip' =\> [

> 'type' =\> 'html\_strip'

> ]  
> ]  
> ]

Thank you!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0fa51a11-a4d2-46ea-aa81-fbca79f06126%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0fa51a11-a4d2-46ea-aa81-fbca79f06126%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:22am UTC](https://discuss.elastic.co/t/text-search-with-large-text-e-g-finance-news/18118/2 "2017-07-06T01:22:25Z")

</div>

Closed on July 6, 2017, 1:22am UTC


