Class: Workarea::Search::Admin::Segment
Instance Method Summary
collapse
#as_document, #created_at, #facets, for, #id, jump_to, #jump_to_param, #jump_to_position, #jump_to_route_helper, #jump_to_search_text, #keywords, #name, #releasable?, #sanitized_keywords, #should_be_indexed?, #status, #updated_at
all, #as_bulk_document, #as_document, current_index_prefix, #destroy, #initialize, #save
Instance Method Details
#jump_to_text ⇒ Object
13
14
15
|
# File 'app/models/workarea/search/admin/segment.rb', line 13
def jump_to_text
model.name
end
|
#search_text ⇒ Object
9
10
11
|
# File 'app/models/workarea/search/admin/segment.rb', line 9
def search_text
"segment #{model.name}"
end
|
#type ⇒ Object
5
6
7
|
# File 'app/models/workarea/search/admin/segment.rb', line 5
def type
'segment'
end
|