class Documentation::Searchers::Abstract
Attributes
options[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/documentation/searchers/abstract.rb, line 7 def initialize(options = {}) @options = options setup end
Public Instance Methods
delete(page)
click to toggle source
Delete a page from the index
# File lib/documentation/searchers/abstract.rb, line 28 def delete(page) false end
index(page)
click to toggle source
Add or update an page in the index
# File lib/documentation/searchers/abstract.rb, line 42 def index(page) end
reset()
click to toggle source
Reset an index to have no data within it
# File lib/documentation/searchers/abstract.rb, line 35 def reset true end
search(query, options = {})
click to toggle source
Search for a page from the index
# File lib/documentation/searchers/abstract.rb, line 21 def search(query, options = {}) [] end
setup()
click to toggle source
Run whatever initial set up is needed
# File lib/documentation/searchers/abstract.rb, line 15 def setup end