|
|
|
|
|
|
Consider the following query:
{ quote code } QueryBuilder monthQb = ... monthQb.keyword() .onField( "estimatedCreation" ) .matching( new GregorianCalendar( 1958, 3, 2 ) ) .createQuery(); { quote code }
This will fail upon execution if the field is indexed numerically:
{quote} The specified query 'estimatedCreation:-2202940800000' contains a string based sub query which targets the numeric encoded field(s) 'estimatedCreation' {quote}
{{ConnectedMultiFieldsTermQueryBuilder.createQuery(FieldContext, ConversionContext)}} only creates exact numeric match queries for {{NumericFieldBridge}} instances, but it also should do so for {{NumericEncodingCalendarBridge}} and {{NumericEncodingDateBridge}}.
|
|
|
|
|
|