mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
- add : cache on es "tags"
- removed : variable globalstructure construction (WITH_FIELDS, WITH_FLAGS...) (was unused) - cleanup (stopwatches etc)
This commit is contained in:
@@ -67,10 +67,7 @@ class QueryController extends Controller
|
||||
$word = StringHelper::crlfNormalize($word);
|
||||
$options = SearchEngineOptions::fromRequest($this->app, $request);
|
||||
|
||||
$search_engine_structure = GlobalStructure::createFromDataboxes(
|
||||
$this->app->getDataboxes(),
|
||||
Structure::WITH_EVERYTHING & ~(Structure::STRUCTURE_WITH_FLAGS | Structure::FIELD_WITH_FACETS | Structure::FIELD_WITH_THESAURUS)
|
||||
);
|
||||
$search_engine_structure = $this->app['search_engine.global_structure'];
|
||||
|
||||
$query_context_factory = new QueryContextFactory(
|
||||
$search_engine_structure,
|
||||
|
Reference in New Issue
Block a user