mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
commit
9629f0e0f5
@ -406,7 +406,7 @@ abstract class SolrIndex extends SearchIndex {
|
|||||||
$fq[] = ($missing ? "+{$field}:[* TO *] " : '') . '-('.implode(' ', $excludeq).')';
|
$fq[] = ($missing ? "+{$field}:[* TO *] " : '') . '-('.implode(' ', $excludeq).')';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!headers_sent()) {
|
if(!headers_sent() && !Director::isLive()) {
|
||||||
if ($q) header('X-Query: '.implode(' ', $q));
|
if ($q) header('X-Query: '.implode(' ', $q));
|
||||||
if ($fq) header('X-Filters: "'.implode('", "', $fq).'"');
|
if ($fq) header('X-Filters: "'.implode('", "', $fq).'"');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user