Class: Workarea::Search::Categorization

Inherits:
Object
  • Object
show all
Includes:
CategorizationFiltering, Query
Defined in:
app/queries/workarea/search/categorization.rb

Instance Method Summary collapse

Methods included from CategorizationFiltering

#category_filters, #category_ids, #category_query_clauses

Methods included from Query

#additional_options, #aggregations, #body, #id, #initialize, #load_model_from, #loaded_results, #post_filter, #query_string, #response, #results, #scroll, #stats, #total

Instance Method Details

#queryObject



9
10
11
# File 'app/queries/workarea/search/categorization.rb', line 9

def query
  { bool: { must: category_query_clauses } }
end