Hi, all
Recently, I am studying the ElasticSearch. I have several questions about
it. Hope someone can answer me.
(1) About the multi_field, can it store two type of fields ? such as..
"tweet" : {
"properties" : {
"name" : {
"type" : "multi_field",
"fields" : {
"name" : { "type" : "string", "index" : "not_analyzed" },
"value" : { "type" : "int"}
(2) if it can, what's the query format when post a new document? Could I
explicit specify the value of these two fields? Or there are some type cast
operations inside it?
(3) Does there any default configuration file exist that configure the
default schema mappings of the index and type? Does it only support REST
API to create index/configure the mappings?
(4)After I configured the number of shards/replicas and post many documents
into it, can I re-configure it again? And how ? if so, what happened when
the shard number increase? Do it cost a lots of performance?
(5)About the routing, can I control the documents that must be sent to
different shards? I know I can use the same routing value to index/search
in the same shard. But could I control some documents which must be located
in different shards of the other documents?
(6) Assume I have only one node and one index, what's the difference
between the size of shard is only one and ten of the same index? Does it
cost extra memory if the shards size is ten? What's the suggested rule to
decide this size?
(7) What's the difference between setting the search_type to scroll and
using the parameters(from/size)?
(8) About the alias filtering, what's the cost about creating a alias
filter? Are there any cache algorithms to accelerate these operations using
the alias filter? Or it just append the extra filter condition of the
filtered alias in the query?
Sorry for the newbie questions, could you give me some opinion about these
questions?
Cheers,
Ivan
--
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/a46431bd-cef8-4714-9f08-0445f376b2a1%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.