Sphinx 的 Ruby 开发包 Oedipus

码农软件 · 软件分类 · 搜索引擎 · 2019-08-26 17:57:57

软件介绍

Oedipus 是 Sphinx 搜索引擎(>2.0.2) 的 Ruby 客户端,支持实时索引和多维的 faceted 搜索。

示例代码:

require "oedipus"

sphinx = Oedipus.connect('127.0.0.1:9306') # sphinxql host

sphinx[:articles].insert(
  7,
  title:     "Badgers in the wild",
  body:      "A big long wodge of text",
  author_id: 4,
  views:     102
)

sphinx[:articles].search(
  "example",
  attrs: [:id, :views]
)

本文地址:https://codercto.com/soft/d/13228.html

The Filter Bubble

The Filter Bubble

Eli Pariser / Penguin Press / 2011-5-12 / GBP 16.45

In December 2009, Google began customizing its search results for each user. Instead of giving you the most broadly popular result, Google now tries to predict what you are most likely to click on. Ac......一起来看看 《The Filter Bubble》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具