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


(Guillaume Couture) #1

Hi everyone!

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

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0fa51a11-a4d2-46ea-aa81-fbca79f06126%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2