mirror of https://github.com/apache/lucene.git
SOLR-8305: replace LatLonType.getValueSource's QParser use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0f0b3ff8e5
commit
d33ca97167
|
@ -285,6 +285,8 @@ Other Changes
|
|||
to explicitly use ClassicIndexSchemaFactory instead : <schemaFactory class="ClassicIndexSchemaFactory"/>
|
||||
(Varun Thacker)
|
||||
|
||||
* SOLR-8305: replace LatLonType.getValueSource's QParser use (Christine Poerschke)
|
||||
|
||||
================== 5.4.0 ==================
|
||||
|
||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
|
||||
|
|
|
@ -219,7 +219,7 @@ public class LatLonType extends AbstractSubTypeFieldType implements SpatialQuery
|
|||
public ValueSource getValueSource(SchemaField field, QParser parser) {
|
||||
ArrayList<ValueSource> vs = new ArrayList<>(2);
|
||||
for (int i = 0; i < 2; i++) {
|
||||
SchemaField sub = subField(field, i, parser.getReq().getSchema());
|
||||
SchemaField sub = subField(field, i, schema);
|
||||
vs.add(sub.getType().getValueSource(sub, parser));
|
||||
}
|
||||
return new LatLonValueSource(field, vs);
|
||||
|
|
Loading…
Reference in New Issue