Questions tagged [retire]

7 questions
3
votes
1 answer

Elasticsearch – combine ids query with must_not clause

I’d like to combine ids query with must_not clause. I’m using (re)tire gem with rails application. I’m doing something like this: query do ids ["foo", "bar", "test"] end Which works. However, when I’m trying to combine it with must_not clause,…
user1105595
  • 591
  • 2
  • 8
  • 20
1
vote
0 answers

Rails: Search by custom instance method's value using tire gem & elasticsearch

For example, I have Article model like class Article < ActiveRecord::Base #Columns: id, title, status_number...etc STATUSES = {1 => "SUCCESS", 2 => "REJECTED"} include Tire::Model::Search include Tire::Model::Callbacks def…
1
vote
1 answer

EC2 Instance Retirement - Just restart or launch new instance from AMI?

I have received an email about an EC2 instance that is to be retired on the 1/12/2015. I can provide more details on the case if need be. I have gone through this process before (approx a year ago), and it all went smoothly. The only difference this…
1
vote
1 answer

Rails Tire Search In Associations has_many

This is my model: models/business_center.rb: mapping do indexes :id, type: 'integer' indexes :name, type: 'string' indexes :address, type: 'string' indexes :offices_pub_count, type: 'integer' indexes :subtype_id, type: 'integer' indexes…
Neodelf
  • 185
  • 1
  • 14
0
votes
0 answers

Google IoT Core Replacement

I need help finding the best replacement for Google IoT Core which will be retiring on 16 August. We have 38 devices connected to Google IoT core. We would like to know which service is provided at a similar price as Google IoT Core and also…
0
votes
1 answer

How to extract output of retire.js into a file from maven execution

I am using retire.js plugin in maven pom file. The vulnerability details are listed along with the build output. I would like to extract the retire.js output into a separate file. Can you please suggest some ways to extract only retire.js data into…
user1332962
  • 91
  • 1
  • 3
  • 11
0
votes
1 answer

Check if document key/id exists with Tire

I am using Tire gem as an elasticsearch client. I wanted to know if there is a way to know if the document with known id exists in the index? something like: Tire.exists? { index: 'myIndex', type: 'myType', id: 'myId' }
Headshota
  • 21,021
  • 11
  • 61
  • 82