Skip to content

Instantly share code, notes, and snippets.

View zhangyuan's full-sized avatar

Yuan Zhang zhangyuan

  • Xi'an, China
  • 00:43 (UTC +08:00)
View GitHub Profile
{
"query": {
"filtered": {
"query": {
"multi_match": {
"query": "a",
"type": "cross_fields",
"operator": "AND",
"fields": [
"employeeId",
# config/initializers/char_converter.rb
require 'uri'
module Support
class CharConverter
def initialize(app)
@app = app
end