FilterCacheFilterWrapper(_type:a)],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: NumberFormatException[Invalid
shift value in prefixCoded string (is encoded value really an INT?)];
"
You have a field named field1 on both mapping types, a and b, but they are
not of the same field type. The first is an integer, the second is a long
(automatically derived). For facets / sorting, field types with the same
name across mapping types must be the same (its an optimization to conserve
memory) even though you specifically define the mapping type to search on.
Hopefully nothing I'm obviously doing wrong - on 0.18.7 I see this
error to the query: gist:1602207 · GitHub
"QueryPhaseExecutionException[[test][2]:
query[filtered(ConstantScore(:))-
FilterCacheFilterWrapper(_type:a)],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: NumberFormatException[Invalid
shift value in prefixCoded string (is encoded value really an INT?)];
"
You have a field named field1 on both mapping types, a and b, but they are
not of the same field type. The first is an integer, the second is a long
(automatically derived). For facets / sorting, field types with the same
name across mapping types must be the same (its an optimization to conserve
memory) even though you specifically define the mapping type to search on.
Hopefully nothing I'm obviously doing wrong - on 0.18.7 I see this
error to the query: gist:1602207 · GitHub
"QueryPhaseExecutionException[[test][2]:
query[filtered(ConstantScore(:))-
FilterCacheFilterWrapper(_type:a)],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: NumberFormatException[Invalid
shift value in prefixCoded string (is encoded value really an INT?)];
"
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.