In results, I am just getting the documents of those of numeric id datatype i.e of type_1 only, and if
i run the query as
$ curl -XGET 'http://localhost:9200/es_data/type_2,type_3/_search?' -d ' {
{
"query": {
"constant_score": {
"query":
{
"bool": {
"must": [
{
"text": {
"id": {
"type": "phrase_prefix",
"query": "162749"
}
}
}
]
}
}
}
}
}
}
'
then i get the documentes from the type_2 and type_3 only.
*
* Can some one please help me why is this happening, I need to have all the
results together, Is there any way except dropping the mapping and
recreating the same mapping ???
In results, I am just getting the documents of those of numeric id
datatype i.e of type_1 only, and if
i run the query as
$ curl -XGET 'http://localhost:9200/es_data/type_2,type_3/_search?' -d ' {
{
"query": {
"constant_score": {
"query":
{
"bool": {
"must": [
{
"text": {
"id": {
"type": "phrase_prefix",
"query": "162749"
}
}
}
]
}
}
}
}
}
}
'
then i get the documentes from the type_2 and type_3 only.
*
* Can some one please help me why is this happening, I need to have all
the results together, Is there any way except dropping the mapping and
recreating the same mapping ???
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.