Field.Index.NOT_ANALYZED_NO_NORMS


(Ridvan Gyundogan) #1

Hi Group,
does anyone know whether I can achieve the lucene's
Field.Index.NOT_ANALYZED_NO_NORMS option in elasticsearch?


(Ivan Brusic) #2

You would need to split the option into two specific options in your mapping:

"some_field" : {"type" : "string", "index" : "not_analyzed", omit_norms="true"}

http://www.elasticsearch.org/guide/reference/mapping/core-types.html

--
Ivan

On Mon, May 21, 2012 at 1:53 AM, Ridvan Gyundogan ridvansg@gmail.com wrote:

Hi Group,
does anyone know whether I can achieve the lucene's
Field.Index.NOT_ANALYZED_NO_NORMS option in elasticsearch?


(Ridvan Gyundogan) #3

Cool, thanks for the help.

Ridvan

On May 22, 2:57 am, Ivan Brusic i...@brusic.com wrote:

You would need to split the option into two specific options in your mapping:

"some_field" : {"type" : "string", "index" : "not_analyzed", omit_norms="true"}

http://www.elasticsearch.org/guide/reference/mapping/core-types.html

--
Ivan

On Mon, May 21, 2012 at 1:53 AM, Ridvan Gyundogan ridva...@gmail.com wrote:

Hi Group,
does anyone know whether I can achieve the lucene's
Field.Index.NOT_ANALYZED_NO_NORMS option in elasticsearch?


(system) #4