_all and compress fields


(IronMike) #1

I am looking for ways to reduce index size,
So I turned on compression, it helped a little but not much.

I did 2 more things that helped but not quite sure what the effects are:

  • I turned off _all field for all. What is the downside to this?

  • I tuned off "store" field for "file" field, which handles text from
    binary files like pdfs..? Should the "store" field for attachments be ON if
    I need highlighting in my queries?

--
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/51994e55-fba3-4968-b146-834f1ff97fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(vineeth mohan-2) #2

Hello ,

I believe the compression is enabled by default.
Disabling _all means that you wont be able to search on all fields
together.
That is in , query_string , you will need to specify which field you want
to query , else the search will give 0 results.
This will certainly help in reducing the space.

I believe store is also disabled by default.
For highlighting _source is used if store is disabled , so it wont affect
highlighting.

Thanks
Vineeth

On Sat, Jul 12, 2014 at 12:20 AM, IronMike sabdalla80@gmail.com wrote:

I am looking for ways to reduce index size,
So I turned on compression, it helped a little but not much.

I did 2 more things that helped but not quite sure what the effects are:

  • I turned off _all field for all. What is the downside to this?

  • I tuned off "store" field for "file" field, which handles text from
    binary files like pdfs..? Should the "store" field for attachments be ON if
    I need highlighting in my queries?

--
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/51994e55-fba3-4968-b146-834f1ff97fba%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/51994e55-fba3-4968-b146-834f1ff97fba%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAGdPd5%3DFq5gxLvHUv89F%3D8axKWcXXPTky1qo8ci3ZRjC7z3vdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3