Merge pull request #1124 from tdonohue/DS-2832

DS-2832: Limit requiresIndexing() query to only returning the LAST_INDEXED_FIELD
This commit is contained in:
Tim Donohue
2015-10-28 09:41:45 -05:00

View File

@@ -591,6 +591,8 @@ public class SolrServiceImpl implements SearchService, IndexingService {
SolrQuery query = new SolrQuery();
query.setQuery("handle:" + handle);
// Specify that we ONLY want the LAST_INDEXED_FIELD returned in the field list (fl)
query.setParam(CommonParams.FL, LAST_INDEXED_FIELD);
QueryResponse rsp;
try {