What's wrong with exclude? It does the job, right? -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> Le 7 mars 2014 à 17:18, Pavel Hloušek <[email protected]> a écrit : > > Thanks for your answer. I get your point. However, for a PHP project it > seemed easier to user mapper attachment. Otherwise there is need to keep > Apache Tika server running or run it each time from cli which is rather > expensive. > > Still, exclude is nice but I'd like to share space on servers - there can be > a lot of content. > > Pavel > > > Dne pátek, 7. března 2014 17:03:00 UTC+1 David Pilato napsal(a): >> >> The best idea is not to use mapper attachment and extract content before >> indexing using Apache Tika for example, which is used as well in mapper >> attachment. >> That's what I did in FSRiver project. At first I was using mapper attachment >> but definitely not using it gives more flexibility and more control of what >> you are sending over the wire. >> >> That said, you can use exclude to remove from _source some content. >> See: >> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-source-field.html#include-exclude >> >> -- >> David Pilato | Technical Advocate | Elasticsearch.com >> @dadoonet | @elasticsearchfr >> >> >>> Le 7 mars 2014 à 16:59:23, Pavel Hloušek ([email protected]) a écrit: >>> >>> I forgot to mention that I used the latest releases of both ES and the >>> mapper-attchments plugin. >>> >>> >>> Dne pátek, 7. března 2014 16:37:51 UTC+1 Pavel Hloušek napsal(a): >>>> >>>> Hello, >>>> >>>> I'm new to elasticsearch and I'm currently playing with mapper-attachments >>>> plugin. My idea is to use ES to index file contents and NOT to store the >>>> file contents. Is it possible? What would the mapping be? Cannot get it >>>> working... >>>> >>>> Thanks for help >>>> >>>> Pavel >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/38ed817d-3ed5-47da-8498-41aebe692a22%40googlegroups.com. >>> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/a798dab0-3bee-40ae-a200-55a4173b6c71%40googlegroups.com. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/DB4E69A9-EC1A-4FF5-B2FC-E0CE03D88F1F%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
