set query cache to null
This commit is contained in:
parent
c10f116a84
commit
a0fea6d365
|
@ -223,6 +223,7 @@ public class HasChildQueryParser implements QueryParser {
|
|||
@Override
|
||||
public Query rewrite(IndexReader reader) throws IOException {
|
||||
IndexSearcher indexSearcher = new IndexSearcher(reader);
|
||||
indexSearcher.setQueryCache(null);
|
||||
String joinField = ParentFieldMapper.joinField(parentType);
|
||||
IndexParentChildFieldData indexParentChildFieldData = parentChildIndexFieldData.loadGlobal(indexSearcher.getIndexReader());
|
||||
MultiDocValues.OrdinalMap ordinalMap = ParentChildIndexFieldData.getOrdinalMap(indexParentChildFieldData, parentType);
|
||||
|
|
Loading…
Reference in New Issue