Store

Hello!

I assume you have your _source field turned on. It stores the whole json document you sent to ElasticSearch. Try turning that off too.

--

Regards,

Rafał Kuć

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

I try it:

curl -XPUT 'http://localhost:9200/posts/post/_mapping' -d '{

"post" : {


    "_timestamp" : {


        "enabled" : true,


        "path" : "post_date"


    },


    "properties" : {


      "message" : { "type" : "string", "analyzer" : "russian_morphology", "store" : "no", "index" : "analyzed" }


  }


}

}'

Full text of the field "message" stored, anyway.

I have an array of long texts and not need to keep full text.

2012/12/18 Rafał Kuć <r.kuc@solr.pl>

'store' property to 'no', and 'index' to 'analyzed'

--

Best Regards,

Roman Yudin

CTO, Wobot LLC

cell: 7 967 285 7900

cell2: 7 903 538 6138

location: Moscow, Russia

timezone: UTC+4

E-mail: r@wobot.ru

skype: rcp2skype

twitter: @_rcp

www.wobot.ru

--