Hi!
I like to use ES with CouchDB as a content server, I mean return data from ES without server-side controller at all.
I setup river and plays with pre-mapped index.
It`s necessary for me to have TWO types of index:
-
short - where EXcluded some fields ( "index" : "no", "include_in_all" : "false") (actually I use dynamic templates futures at mapping - its incredibly cool things)
-
full - all fields are INcluded
I need it in reason of logics and productivity - some clients may not use _search?q=field:term constriction and may gets strange results.
And, my question is - may I have two( or more) types in one river index?
I try to use something
index : { "index" : "my_river_index","type" : [ "short","full" ] }
at river create, but it don`t working and get broke short index too.
I can use another one index, but is it good practice - to double data, or I missed something in ES architect?
Dmitry.
PS. Sorry for my English, my mother thongs language is Russian.