Put mapping documentation -- What options are available? Specifically, how to store a property but without indexing it?


(Daniel Winterstein) #1

Hello,

The documentation at
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-put-mapping.html
is a little sparse on details.

Where can I find documentation for the options/parameters that put mapping
takes?
E.g. store, analyze, and just a list of what other options there are.

Specifically, I have some large data properties I want to store and
retrieve with results, but not have them indexed for search. So help with
that would be great.

Thank you & best regards,

  • Daniel

--
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/dfee8225-809b-4e7f-a2bc-3a032b49c4ab%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(hari) #2

Are you looking for core types?
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html

On Sunday, February 23, 2014 2:54:23 AM UTC-6, Daniel Winterstein wrote:

Hello,

The documentation at
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-put-mapping.htmlis a little sparse on details.

Where can I find documentation for the options/parameters that put mapping
takes?
E.g. store, analyze, and just a list of what other options there are.

Specifically, I have some large data properties I want to store and
retrieve with results, but not have them indexed for search. So help with
that would be great.

Thank you & best regards,

  • Daniel

--
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/6d23ebb8-19d7-437b-b4db-c4f651c029e0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Daniel Winterstein) #3

Thank you Hariharan, but no. I am looking for documentation for the other
options, such as analyze and store.

Best regards,
Daniel

Sent from my phone. Please excuse the brevity.

--
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/CAEmLSt%3D_vb4x7zYor6gH%3DWi%2BAir3Kgf7NoV0kgzUy4N2RfFpTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #4

Hey,

it is all in the provided link from the first reply? Maybe you can be a bit
more specific with your problem and what infos you are missing and we can
try to help...

--Alex

On Sun, Feb 23, 2014 at 9:48 PM, Daniel Winterstein <
daniel.winterstein@gmail.com> wrote:

Thank you Hariharan, but no. I am looking for documentation for the other
options, such as analyze and store.

Best regards,
Daniel

Sent from my phone. Please excuse the brevity.

--
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/CAEmLSt%3D_vb4x7zYor6gH%3DWi%2BAir3Kgf7NoV0kgzUy4N2RfFpTQ%40mail.gmail.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
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/CAGCwEM-_1BL2n1U23agy_jmP%3Ds43djoMZdRG%2BruCrTC35rg3ug%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Daniel Winterstein) #5

Hello Alex,

To take the example from that page:

$ curl -XPUT 'http://localhost:9200/twitter/tweet/_mapping' -d '
{
"tweet" : {
"properties" : {
"message" : {"type" : "string",
// What can go here??
// I've seen "analyzer", "store", "enabled" used in passing in
examples without explanation.
// Somewhere there must be a list of these! What they mean, and what
the supported values are.
}
}
}
}
'

Specifically, I have some large data properties I want to store and retrieve with results, but not have them indexed for search. So help with that would be great.

I think "enabled" might fit this.

Best regards,

  • Daniel

--
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/CAEmLStmw9DtvyWLbyHbmmrmqc8PoZArWt1aCH637NGyyUqqFuw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Ivan Brusic) #6

Daniel,

Hariharan's link does cover all those topics. The putting mapping api just
describes how to put a mapping. :slight_smile: The documentation for the actual
mappings is in its own section.

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

Cheers,

Ivan

On Mon, Feb 24, 2014 at 8:20 AM, Daniel Winterstein <
daniel.winterstein@gmail.com> wrote:

Hello Alex,

To take the example from that page:

$ curl -XPUT 'http://localhost:9200/twitter/tweet/_mapping' -d '
{
"tweet" : {
"properties" : {
"message" : {"type" : "string",
// What can go here??
// I've seen "analyzer", "store", "enabled" used in passing in
examples without explanation.
// Somewhere there must be a list of these! What they mean, and what
the supported values are.
}
}
}
}
'

Specifically, I have some large data properties I want to store and
retrieve with results, but not have them indexed for search. So help with
that would be great.

I think "enabled" might fit this.

Best regards,

  • Daniel

--
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/CAEmLStmw9DtvyWLbyHbmmrmqc8PoZArWt1aCH637NGyyUqqFuw%40mail.gmail.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CALY%3DcQBTNfiWp1afXLSFpVDXUEPjWW24eEFCs8rd8MHRurLbkQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Daniel Winterstein) #7

Dear Hariharan, Alex, Luke,

My apologies. You're quite right. The information is there -- I just
didn't read far enough down.

Thank you for your help & persistence.

Best regards,

  • Daniel

--
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/CAEmLStnHQCUuMPJHhbcoq8_iQgFX%3D22t9%3DS9gOwWC7C1OtDToA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Ivan Brusic) #8

Luke? :slight_smile:

On Tue, Feb 25, 2014 at 1:09 PM, Daniel Winterstein <
daniel.winterstein@gmail.com> wrote:

Dear Hariharan, Alex, Luke,

My apologies. You're quite right. The information is there -- I just
didn't read far enough down.

Thank you for your help & persistence.

Best regards,

  • Daniel

--
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/CAEmLStnHQCUuMPJHhbcoq8_iQgFX%3D22t9%3DS9gOwWC7C1OtDToA%40mail.gmail.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CALY%3DcQD%3Dk0htmXcEwXBBB4T%2BwqNAyA_fOz41DX5cinf3aYsQGg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Daniel Winterstein) #9

Sorry Ivan! I'm not having much luck on this thread.
Daniel

Sent from my phone. Please excuse the brevity.
On 26 Feb 2014 01:58, "Ivan Brusic" ivan@brusic.com wrote:

Luke? :slight_smile:

On Tue, Feb 25, 2014 at 1:09 PM, Daniel Winterstein <
daniel.winterstein@gmail.com> wrote:

Dear Hariharan, Alex, Luke,

My apologies. You're quite right. The information is there -- I just
didn't read far enough down.

Thank you for your help & persistence.

Best regards,

  • Daniel

--
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/CAEmLStnHQCUuMPJHhbcoq8_iQgFX%3D22t9%3DS9gOwWC7C1OtDToA%40mail.gmail.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/qER5uOq2A20/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQD%3Dk0htmXcEwXBBB4T%2BwqNAyA_fOz41DX5cinf3aYsQGg%40mail.gmail.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CAEmLSt%3DjVdN_j1GQ3BYbpW0REeTOSLOJdH39UxCTmy7mnsbpEg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #10