gsa:Ruby库,用于与Google Search Appliance一起使用

时间:2021-05-22 10:27:54
【文件属性】:
文件名称:gsa:Ruby库,用于与Google Search Appliance一起使用
文件大小:298KB
文件格式:ZIP
更新时间:2021-05-22 10:27:54
Ruby GSA Ruby宝石 通过单行进纸,搜索和刻面,快速,轻松地利用GSA索引功能。 安装 gem install gsa 默认端口 默认端口设置为安全端口19902 要将端口更改为http,请将feed扩展名设置为以下内容: GSA :: FEED_EXTENSION = ":19900/xmlfeed" 入门 将基本uri设置为您的GSA框 GSA . base_uri = 'http://path-to-gsa-box.com/' 喂食 1.)将您希望作为哈希数组输入到GSA的记录结构化 @products = [ { id : "1" , name : "Foo" , price : 12 , brand : 'BazBrand' } , { id : "2" , name : "Bar" , price : 15 , brand : 'BazBrand' } ] 2.)
【文件预览】:
gsa-master
----.gitignore(75B)
----README.md(6KB)
----CHANGELOG.md(123B)
----fixtures()
--------cassette_library()
--------feeds()
--------queries()
--------result_sets()
--------uids()
----Gemfile(38B)
----spec()
--------fixtures.rb(1KB)
--------lib()
--------spec_helper.rb(331B)
----LICENSE.txt(1KB)
----lib()
--------defaults.rb(2KB)
--------gsa.rb(896B)
--------gsa()
--------facade.rb(956B)
----Rakefile(28B)
----gsa.gemspec(1KB)

网友评论