forget that part - i didn't need the 
    "myindex" : { "mappings" { 
part.

other issue still stands though.

On Wednesday, April 30, 2014 5:17:00 PM UTC-4, Eric Sims wrote:
>
> here's another weird bit. it doesn't seem to show the mappings right after 
> i set them:
>
> PUT /myindex/album/_mapping
> {
>   "myindex": {
>     "mappings": {
>        "album": {
>           "properties": {
>                "albumdescription": {"type": "string"},
>                "albumid": {"type": "string"},
>                "artist": {"type": "string"},
>                "genre": {"type": "string", "index" : "not_analyzed"},
>                "label": {"type": "string", "analyzer": "whitespace"},
>                "title": {"type": "string"},
>                "time": {"type" : "string"},
>                "_id" : {
>                     "index_name" : "album.AlbumID", 
>                     "path" : "full", 
>                     "type" : "string"
>                }
>             }
>        }
>     }
>   }
> }
>
>
> GET /myindex/album/_mapping
>
> returns this:
>
> {
>    "myindex": {
>       "mappings": {
>          "album": {
>             "properties": {}
>          }
>       }
>    }
> }
>

-- 
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/cf3b18c2-3393-413c-98c8-e6e84ac7c5ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to