mirror of
https://github.com/apache/lucene.git
synced 2025-03-02 14:29:23 +00:00
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579743 13f79535-47bb-0310-9956-ffa450edef68
21 lines
745 B
Ruby
21 lines
745 B
Ruby
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
class Solr::Response::Spellcheck < Solr::Response::Ruby
|
|
attr_reader :suggestions
|
|
|
|
def initialize(ruby_code)
|
|
super
|
|
@suggestions = @data['suggestions']
|
|
end
|
|
end
|