SYMBOL INDEX (1131 symbols across 91 files) FILE: benchmark/index.rb class SearchSerializer (line 15) | class SearchSerializer method dump (line 16) | def dump(object) class Product (line 34) | class Product < ActiveRecord::Base method search_data (line 37) | def search_data FILE: benchmark/relation.rb class Product (line 5) | class Product < ActiveRecord::Base FILE: benchmark/search.rb class Product (line 10) | class Product < ActiveRecord::Base method search_data (line 13) | def search_data FILE: examples/hybrid.rb class Product (line 16) | class Product < ActiveRecord::Base FILE: examples/semantic.rb class Product (line 16) | class Product < ActiveRecord::Base FILE: lib/searchkick.rb type Searchkick (line 38) | module Searchkick class Error (line 49) | class Error < StandardError; end class MissingIndexError (line 50) | class MissingIndexError < Error; end class UnsupportedVersionError (line 51) | class UnsupportedVersionError < Error method message (line 52) | def message class InvalidQueryError (line 56) | class InvalidQueryError < Error; end class DangerousOperation (line 57) | class DangerousOperation < Error; end class ImportError (line 58) | class ImportError < Error; end function client (line 73) | def self.client function env (line 112) | def self.env function search_timeout (line 116) | def self.search_timeout function server_info (line 121) | def self.server_info function server_version (line 125) | def self.server_version function opensearch? (line 129) | def self.opensearch? function server_below? (line 136) | def self.server_below?(version) function knn_support? (line 141) | def self.knn_support? function search (line 149) | def self.search(term = "*", model: nil, **options, &block) function multi_search (line 178) | def self.multi_search(queries, opaque_id: nil) function script (line 194) | def self.script(source, **options) function enable_callbacks (line 200) | def self.enable_callbacks function disable_callbacks (line 204) | def self.disable_callbacks function callbacks? (line 208) | def self.callbacks?(default: true) function callbacks (line 217) | def self.callbacks(value = nil, message: nil) function aws_credentials= (line 244) | def self.aws_credentials=(creds) function reindex_status (line 251) | def self.reindex_status(index_name) function with_redis (line 261) | def self.with_redis function warn (line 273) | def self.warn(message) function load_records (line 278) | def self.load_records(relation, ids) function load_model (line 295) | def self.load_model(class_name, allow_child: false) function indexer (line 311) | def self.indexer function callbacks_value (line 316) | def self.callbacks_value function callbacks_value= (line 321) | def self.callbacks_value=(value) function signer_middleware_aws_params (line 326) | def self.signer_middleware_aws_params function relation? (line 334) | def self.relation?(klass) function scope (line 343) | def self.scope(model) function not_found_error? (line 355) | def self.not_found_error?(e) function transport_error? (line 362) | def self.transport_error?(e) function not_allowed_error? (line 369) | def self.not_allowed_error?(e) FILE: lib/searchkick/bulk_reindex_job.rb type Searchkick (line 1) | module Searchkick class BulkReindexJob (line 2) | class BulkReindexJob < Searchkick.parent_job.constantize method perform (line 5) | def perform(class_name:, record_ids: nil, index_name: nil, method_na... FILE: lib/searchkick/controller_runtime.rb type Searchkick (line 2) | module Searchkick type ControllerRuntime (line 3) | module ControllerRuntime function process_action (line 10) | def process_action(action, *args) function cleanup_view_runtime (line 18) | def cleanup_view_runtime function append_info_to_payload (line 26) | def append_info_to_payload(payload) type ClassMethods (line 31) | module ClassMethods function log_process_action (line 32) | def log_process_action(payload) FILE: lib/searchkick/hash_wrapper.rb type Searchkick (line 1) | module Searchkick class HashWrapper (line 2) | class HashWrapper method initialize (line 3) | def initialize(attributes) method [] (line 7) | def [](name) method to_h (line 11) | def to_h method as_json (line 15) | def as_json(...) method to_json (line 19) | def to_json(...) method method_missing (line 23) | def method_missing(name, ...) method respond_to_missing? (line 31) | def respond_to_missing?(name, ...) method inspect (line 35) | def inspect FILE: lib/searchkick/index.rb type Searchkick (line 1) | module Searchkick class Index (line 2) | class Index method initialize (line 5) | def initialize(name, options = {}) method index_options (line 11) | def index_options method create (line 15) | def create(body = {}) method delete (line 19) | def delete method exists? (line 29) | def exists? method refresh (line 33) | def refresh method alias_exists? (line 37) | def alias_exists? method mapping (line 43) | def mapping method settings (line 48) | def settings method refresh_interval (line 52) | def refresh_interval method update_settings (line 56) | def update_settings(settings) method tokens (line 60) | def tokens(text, options = {}) method total_docs (line 64) | def total_docs method promote (line 78) | def promote(new_name, update_refresh_interval: false) method retrieve (line 98) | def retrieve(record) method all_indices (line 107) | def all_indices(unaliased: false) method clean_indices (line 124) | def clean_indices method store (line 132) | def store(record) method remove (line 138) | def remove(record) method update_record (line 144) | def update_record(record, method_name) method bulk_delete (line 150) | def bulk_delete(records) method bulk_index (line 158) | def bulk_index(records) method bulk_update (line 167) | def bulk_update(records, method_name, ignore_missing: nil) method search_id (line 175) | def search_id(record) method document_type (line 179) | def document_type(record) method similar_record (line 183) | def similar_record(record, **options) method reload_synonyms (line 191) | def reload_synonyms method reindex_queue (line 206) | def reindex_queue method reindex (line 214) | def reindex(object, method_name: nil, ignore_missing: nil, full: fal... method create_index (line 261) | def create_index(index_options: nil) method import_scope (line 268) | def import_scope(relation, **options) method batches_left (line 272) | def batches_left method klass_document_type (line 277) | def klass_document_type(klass, ignore_type = false) method conversions_fields (line 290) | def conversions_fields method conversions_v2_fields (line 298) | def conversions_v2_fields method suggest_fields (line 303) | def suggest_fields method locations_fields (line 308) | def locations_fields method uuid (line 316) | def uuid method client (line 322) | def client method queue_index (line 326) | def queue_index(records) method queue_delete (line 330) | def queue_delete(records) method queue_update (line 334) | def queue_update(records, method_name, ignore_missing:) method relation_indexer (line 340) | def relation_indexer method index_settings (line 344) | def index_settings method import_before_promotion (line 348) | def import_before_promotion(index, relation, **import_options) method reindex_records (line 352) | def reindex_records(object, mode: nil, refresh: false, **options) method full_reindex (line 363) | def full_reindex(relation, import: true, resume: false, retain: fals... method check_uuid (line 445) | def check_uuid(old_uuid, new_uuid) method notify (line 451) | def notify(record, name) method notify_bulk (line 466) | def notify_bulk(records, name) FILE: lib/searchkick/index_cache.rb type Searchkick (line 1) | module Searchkick class IndexCache (line 2) | class IndexCache method initialize (line 3) | def initialize(max_size: 20) method fetch (line 11) | def fetch(name) method clear (line 24) | def clear FILE: lib/searchkick/index_options.rb type Searchkick (line 1) | module Searchkick class IndexOptions (line 2) | class IndexOptions method initialize (line 5) | def initialize(index) method index_options (line 9) | def index_options method generate_settings (line 30) | def generate_settings method update_language (line 205) | def update_language(settings, language) method update_stemming (line 303) | def update_stemming(settings) method generate_mappings (line 358) | def generate_mappings method add_synonyms (line 568) | def add_synonyms(settings) method add_search_synonyms (line 594) | def add_search_synonyms(settings) method set_deep_paging (line 629) | def set_deep_paging(settings) method index_type (line 636) | def index_type method default_type (line 644) | def default_type method default_analyzer (line 648) | def default_analyzer FILE: lib/searchkick/indexer.rb type Searchkick (line 3) | module Searchkick class Indexer (line 4) | class Indexer method initialize (line 7) | def initialize method queue (line 11) | def queue(items) method perform (line 16) | def perform method ignore_missing? (line 39) | def ignore_missing?(item, error) FILE: lib/searchkick/log_subscriber.rb type Searchkick (line 2) | module Searchkick class LogSubscriber (line 3) | class LogSubscriber < ActiveSupport::LogSubscriber method runtime= (line 4) | def self.runtime=(value) method runtime (line 8) | def self.runtime method reset_runtime (line 12) | def self.reset_runtime method search (line 18) | def search(event) method request (line 37) | def request(event) method multi_search (line 47) | def multi_search(event) FILE: lib/searchkick/middleware.rb type Searchkick (line 3) | module Searchkick class Middleware (line 4) | class Middleware < Faraday::Middleware method call (line 5) | def call(env) FILE: lib/searchkick/model.rb type Searchkick (line 1) | module Searchkick type Model (line 2) | module Model function searchkick (line 3) | def searchkick(**options) FILE: lib/searchkick/multi_search.rb type Searchkick (line 1) | module Searchkick class MultiSearch (line 2) | class MultiSearch method initialize (line 5) | def initialize(queries, opaque_id: nil) method perform (line 10) | def perform method perform_search (line 18) | def perform_search(search_queries, perform_retry: true) method client (line 42) | def client FILE: lib/searchkick/process_batch_job.rb type Searchkick (line 1) | module Searchkick class ProcessBatchJob (line 2) | class ProcessBatchJob < Searchkick.parent_job.constantize method perform (line 5) | def perform(class_name:, record_ids:, index_name: nil) FILE: lib/searchkick/process_queue_job.rb type Searchkick (line 1) | module Searchkick class ProcessQueueJob (line 2) | class ProcessQueueJob < Searchkick.parent_job.constantize method perform (line 5) | def perform(class_name:, index_name: nil, inline: false, job_options... FILE: lib/searchkick/query.rb type Searchkick (line 1) | module Searchkick class Query (line 2) | class Query method initialize (line 19) | def initialize(klass, term = "*", **options) method searchkick_index (line 57) | def searchkick_index method searchkick_options (line 61) | def searchkick_options method searchkick_klass (line 65) | def searchkick_klass method params (line 69) | def params method execute (line 102) | def execute method handle_response (line 117) | def handle_response(response) method retry_misspellings? (line 183) | def retry_misspellings?(response) method handle_error (line 189) | def handle_error(e) method reindex_command (line 222) | def reindex_command method execute_search (line 226) | def execute_search method prepare (line 237) | def prepare method set_fields (line 557) | def set_fields method build_query (line 583) | def build_query(query, filters, should, must_not, custom_filters, mu... method set_conversions (line 616) | def set_conversions method set_conversions_v2 (line 645) | def set_conversions_v2 method set_exclude (line 682) | def set_exclude(field, analyzer) method set_boost_by_distance (line 695) | def set_boost_by_distance(custom_filters) method set_boost_by_recency (line 720) | def set_boost_by_recency(custom_filters) method set_boost_by (line 733) | def set_boost_by(multiply_filters, custom_filters) method set_boost_where (line 746) | def set_boost_where(custom_filters) method set_boost_by_indices (line 762) | def set_boost_by_indices(payload) method set_suggestions (line 773) | def set_suggestions(payload, suggest) method set_highlights (line 801) | def set_highlights(payload, fields) method set_aggregations (line 833) | def set_aggregations(payload, filters, post_filters) method where_without_field (line 916) | def where_without_field(where, field) method combine_agg_where (line 943) | def combine_agg_where(agg_where, where) method set_knn (line 963) | def set_knn(payload, knn, per_page, offset) method set_post_filters (line 1086) | def set_post_filters(payload, post_filters) method set_order (line 1094) | def set_order(payload) method ensure_permitted (line 1101) | def ensure_permitted(obj) method where_filters (line 1105) | def where_filters(where) method term_filters (line 1253) | def term_filters(field, value) method custom_filter (line 1293) | def custom_filter(field, value, factor) method boost_filter (line 1300) | def boost_filter(field, factor: 1, modifier: nil, missing: nil) method boost_filters (line 1322) | def boost_filters(boost_by, modifier: nil) method coordinate_array (line 1331) | def coordinate_array(value) method location_value (line 1341) | def location_value(value) method expand_range (line 1349) | def expand_range(range) method base_field (line 1360) | def base_field(k) method track_total_hits? (line 1364) | def track_total_hits? method body_options (line 1368) | def body_options FILE: lib/searchkick/railtie.rb type Searchkick (line 1) | module Searchkick class Railtie (line 2) | class Railtie < Rails::Railtie FILE: lib/searchkick/record_data.rb type Searchkick (line 1) | module Searchkick class RecordData (line 2) | class RecordData method initialize (line 7) | def initialize(index, record) method index_data (line 12) | def index_data method update_data (line 18) | def update_data(method_name) method delete_data (line 24) | def delete_data method search_id (line 29) | def search_id method document_type (line 34) | def document_type(ignore_type = false) method record_data (line 38) | def record_data method search_data (line 49) | def search_data(method_name = nil) method location_value (line 112) | def location_value(value) method cast_big_decimal (line 125) | def cast_big_decimal(obj) FILE: lib/searchkick/record_indexer.rb type Searchkick (line 1) | module Searchkick class RecordIndexer (line 2) | class RecordIndexer method initialize (line 5) | def initialize(index) method reindex (line 9) | def reindex(records, mode:, method_name:, ignore_missing:, full: fal... method reindex_items (line 73) | def reindex_items(klass, items, method_name:, ignore_missing:, singl... method index_record? (line 94) | def index_record?(record) method import_inline (line 99) | def import_inline(index_records, delete_records, method_name:, ignor... method maybe_bulk (line 117) | def maybe_bulk(index_records, delete_records, method_name, single) method construct_record (line 149) | def construct_record(klass, id, routing) method with_retries (line 160) | def with_retries FILE: lib/searchkick/reindex_queue.rb type Searchkick (line 1) | module Searchkick class ReindexQueue (line 2) | class ReindexQueue method initialize (line 5) | def initialize(name) method push (line 12) | def push(record_ids) method push_records (line 16) | def push_records(records) method reserve (line 35) | def reserve(limit: 1000) method clear (line 39) | def clear method length (line 43) | def length method redis_key (line 49) | def redis_key method escape (line 53) | def escape(value) FILE: lib/searchkick/reindex_v2_job.rb type Searchkick (line 1) | module Searchkick class ReindexV2Job (line 2) | class ReindexV2Job < Searchkick.parent_job.constantize method perform (line 5) | def perform(class_name, id, method_name = nil, routing: nil, index_n... FILE: lib/searchkick/relation.rb type Searchkick (line 1) | module Searchkick class Relation (line 2) | class Relation method initialize (line 14) | def initialize(model, term = "*", **options) method inspect (line 24) | def inspect method aggs (line 30) | def aggs(*args, **kwargs) method aggs! (line 38) | def aggs!(*args, **kwargs) method body (line 53) | def body(value = NO_DEFAULT_VALUE) method body! (line 61) | def body!(value) method body_options (line 67) | def body_options(value) method body_options! (line 71) | def body_options!(value) method boost (line 77) | def boost(value) method boost! (line 81) | def boost!(value) method boost_by (line 87) | def boost_by(value) method boost_by! (line 91) | def boost_by!(value) method boost_by_distance (line 102) | def boost_by_distance(value) method boost_by_distance! (line 106) | def boost_by_distance!(value) method boost_by_recency (line 114) | def boost_by_recency(value) method boost_by_recency! (line 118) | def boost_by_recency!(value) method boost_where (line 124) | def boost_where(value) method boost_where! (line 128) | def boost_where!(value) method conversions (line 135) | def conversions(value) method conversions! (line 139) | def conversions!(value) method conversions_v1 (line 145) | def conversions_v1(value) method conversions_v1! (line 149) | def conversions_v1!(value) method conversions_v2 (line 155) | def conversions_v2(value) method conversions_v2! (line 159) | def conversions_v2!(value) method conversions_term (line 165) | def conversions_term(value) method conversions_term! (line 169) | def conversions_term!(value) method debug (line 175) | def debug(value = true) method debug! (line 179) | def debug!(value = true) method emoji (line 185) | def emoji(value = true) method emoji! (line 189) | def emoji!(value = true) method exclude (line 195) | def exclude(*values) method exclude! (line 199) | def exclude!(*values) method explain (line 205) | def explain(value = true) method explain! (line 209) | def explain!(value = true) method fields (line 215) | def fields(*values) method fields! (line 219) | def fields!(*values) method highlight (line 225) | def highlight(value) method highlight! (line 229) | def highlight!(value) method includes (line 235) | def includes(*values) method includes! (line 239) | def includes!(*values) method index_name (line 245) | def index_name(*values) method index_name! (line 249) | def index_name!(*values) method indices_boost (line 260) | def indices_boost(value) method indices_boost! (line 264) | def indices_boost!(value) method knn (line 270) | def knn(value) method knn! (line 274) | def knn!(value) method limit (line 280) | def limit(value) method limit! (line 284) | def limit!(value) method load (line 290) | def load(value = NO_DEFAULT_VALUE) method load! (line 299) | def load!(value) method match (line 305) | def match(value) method match! (line 309) | def match!(value) method misspellings (line 315) | def misspellings(value) method misspellings! (line 319) | def misspellings!(value) method models (line 325) | def models(*values) method models! (line 329) | def models!(*values) method model_includes (line 335) | def model_includes(*values) method model_includes! (line 339) | def model_includes!(*values) method offset (line 345) | def offset(value = NO_DEFAULT_VALUE) method offset! (line 353) | def offset!(value) method opaque_id (line 359) | def opaque_id(value) method opaque_id! (line 363) | def opaque_id!(value) method operator (line 369) | def operator(value) method operator! (line 373) | def operator!(value) method order (line 379) | def order(*values) method order! (line 383) | def order!(*values) method padding (line 389) | def padding(value = NO_DEFAULT_VALUE) method padding! (line 397) | def padding!(value) method page (line 403) | def page(value) method page! (line 407) | def page!(value) method per_page (line 413) | def per_page(value = NO_DEFAULT_VALUE) method per (line 421) | def per(value) method per_page! (line 425) | def per_page!(value) method profile (line 432) | def profile(value = true) method profile! (line 436) | def profile!(value = true) method request_params (line 442) | def request_params(value) method request_params! (line 446) | def request_params!(value) method routing (line 452) | def routing(value) method routing! (line 456) | def routing!(value) method scope_results (line 462) | def scope_results(value) method scope_results! (line 466) | def scope_results!(value) method scroll (line 472) | def scroll(value = NO_DEFAULT_VALUE, &block) method scroll! (line 482) | def scroll!(value) method select (line 488) | def select(*values, &block) method select! (line 496) | def select!(*values) method similar (line 502) | def similar(value = true) method similar! (line 506) | def similar!(value = true) method smart_aggs (line 512) | def smart_aggs(value) method smart_aggs! (line 516) | def smart_aggs!(value) method suggest (line 522) | def suggest(value = true) method suggest! (line 526) | def suggest!(value = true) method total_entries (line 532) | def total_entries(value = NO_DEFAULT_VALUE) method total_entries! (line 540) | def total_entries!(value) method track (line 546) | def track(value = true) method track! (line 550) | def track!(value = true) method type (line 556) | def type(*values) method type! (line 560) | def type!(*values) method where (line 566) | def where(value = NO_DEFAULT_VALUE) method where! (line 574) | def where!(value) method first (line 592) | def first(value = NO_DEFAULT_VALUE) method pluck (line 612) | def pluck(*keys) method reorder (line 620) | def reorder(*values) method reorder! (line 624) | def reorder!(*values) method reselect (line 630) | def reselect(*values) method reselect! (line 634) | def reselect!(*values) method rewhere (line 640) | def rewhere(value) method rewhere! (line 644) | def rewhere!(value) method only (line 650) | def only(*keys) method except (line 654) | def except(*keys) method loaded? (line 658) | def loaded? method respond_to_missing? (line 664) | def respond_to_missing?(...) method to_yaml (line 678) | def to_yaml method private_execute (line 684) | def private_execute method query (line 688) | def query method check_loaded (line 692) | def check_loaded method ensure_permitted (line 701) | def ensure_permitted(obj) method initialize_copy (line 705) | def initialize_copy(other) method concat_option (line 712) | def concat_option(key, value) method merge_option (line 720) | def merge_option(key, value) FILE: lib/searchkick/relation_indexer.rb type Searchkick (line 1) | module Searchkick class RelationIndexer (line 2) | class RelationIndexer method initialize (line 5) | def initialize(index) method reindex (line 9) | def reindex(relation, mode:, method_name: nil, ignore_missing: nil, ... method batches_left (line 51) | def batches_left method batch_completed (line 55) | def batch_completed(batch_id) method resume_relation (line 61) | def resume_relation(relation) method in_batches (line 72) | def in_batches(relation) method each_batch (line 115) | def each_batch(relation, batch_size:) method batch_size (line 129) | def batch_size method full_reindex_async (line 133) | def full_reindex_async(relation, job_options: nil) method batch_job (line 168) | def batch_job(class_name, batch_id, job_options, **options) method batches_key (line 180) | def batches_key FILE: lib/searchkick/reranking.rb type Searchkick (line 1) | module Searchkick type Reranking (line 2) | module Reranking function rrf (line 3) | def self.rrf(first_ranking, *rankings, k: 60) FILE: lib/searchkick/results.rb type Searchkick (line 1) | module Searchkick class Results (line 2) | class Results method initialize (line 10) | def initialize(klass, response, options = {}) method with_hit (line 16) | def with_hit method missing_records (line 24) | def missing_records method suggestions (line 28) | def suggestions method aggregations (line 38) | def aggregations method aggs (line 42) | def aggs method took (line 57) | def took method error (line 61) | def error method model_name (line 65) | def model_name method entry_name (line 73) | def entry_name(options = {}) method total_count (line 83) | def total_count method current_page (line 94) | def current_page method per_page (line 98) | def per_page method padding (line 103) | def padding method total_pages (line 107) | def total_pages method offset_value (line 112) | def offset_value method previous_page (line 117) | def previous_page method next_page (line 122) | def next_page method first_page? (line 126) | def first_page? method last_page? (line 130) | def last_page? method out_of_range? (line 134) | def out_of_range? method hits (line 138) | def hits method highlights (line 146) | def highlights(multiple: false) method with_highlights (line 152) | def with_highlights(multiple: false) method with_score (line 160) | def with_score method misspellings? (line 168) | def misspellings? method scroll_id (line 172) | def scroll_id method scroll (line 176) | def scroll method clear_scroll (line 206) | def clear_scroll method results (line 221) | def results method with_hit_and_missing_records (line 225) | def with_hit_and_missing_records method build_hits (line 309) | def build_hits method results_query (line 318) | def results_query(records, hits) method combine_includes (line 337) | def combine_includes(result, inc) method base_field (line 347) | def base_field(k) method hit_highlights (line 351) | def hit_highlights(hit, multiple: false) FILE: lib/searchkick/script.rb type Searchkick (line 1) | module Searchkick class Script (line 2) | class Script method initialize (line 5) | def initialize(source, lang: "painless", params: {}) FILE: lib/searchkick/version.rb type Searchkick (line 1) | module Searchkick FILE: lib/searchkick/where.rb type Searchkick (line 1) | module Searchkick class Where (line 2) | class Where method initialize (line 3) | def initialize(relation) method not (line 7) | def not(value) FILE: test/aggs_test.rb class AggsTest (line 3) | class AggsTest < Minitest::Test method setup (line 4) | def setup method test_single (line 14) | def test_single method test_multiple (line 19) | def test_multiple method test_multiple_where (line 26) | def test_multiple_where method test_none (line 32) | def test_none method test_where (line 36) | def test_where method test_field (line 43) | def test_field method test_min_doc_count (line 49) | def test_min_doc_count method test_script (line 53) | def test_script method test_order (line 58) | def test_order method test_limit (line 63) | def test_limit method test_ranges (line 70) | def test_ranges method test_date_ranges (line 81) | def test_date_ranges method test_group_by_date (line 89) | def test_group_by_date method test_time_zone (line 96) | def test_time_zone method test_avg (line 118) | def test_avg method test_cardinality (line 123) | def test_cardinality method test_min_max (line 128) | def test_min_max method test_sum (line 134) | def test_sum method test_body_options (line 139) | def test_body_options method test_smart_aggs (line 144) | def test_smart_aggs method test_smart_aggs_overlap (line 164) | def test_smart_aggs_overlap method test_smart_aggs_agg_where (line 206) | def test_smart_aggs_agg_where method test_smart_aggs_agg_where_overlap (line 235) | def test_smart_aggs_agg_where_overlap method test_smart_aggs_relation (line 251) | def test_smart_aggs_relation method assert_aggs (line 264) | def assert_aggs(expected, options) method agg_buckets (line 273) | def agg_buckets(relation) FILE: test/boost_test.rb class BoostTest (line 3) | class BoostTest < Minitest::Test method test_boost (line 6) | def test_boost method test_boost_zero (line 15) | def test_boost_zero method test_fields (line 24) | def test_fields method test_fields_decimal (line 32) | def test_fields_decimal method test_fields_word_start (line 40) | def test_fields_word_start method test_fields_apostrophes (line 49) | def test_fields_apostrophes method test_boost_by (line 56) | def test_boost_by method test_boost_by_missing (line 66) | def test_boost_by_missing method test_boost_by_boost_mode_multiply (line 74) | def test_boost_by_boost_mode_multiply method test_boost_where (line 83) | def test_boost_where method test_boost_where_negative_boost (line 97) | def test_boost_where_negative_boost method test_boost_by_recency (line 106) | def test_boost_by_recency method test_boost_by_recency_origin (line 115) | def test_boost_by_recency_origin method test_boost_by_distance (line 124) | def test_boost_by_distance method test_boost_by_distance_hash (line 133) | def test_boost_by_distance_hash method test_boost_by_distance_v2 (line 142) | def test_boost_by_distance_v2 method test_boost_by_distance_v2_hash (line 151) | def test_boost_by_distance_v2_hash method test_boost_by_distance_v2_factor (line 160) | def test_boost_by_distance_v2_factor method test_boost_by_indices (line 170) | def test_boost_by_indices FILE: test/callbacks_test.rb class CallbacksTest (line 3) | class CallbacksTest < Minitest::Test method test_false (line 4) | def test_false method test_bulk (line 11) | def test_bulk method test_async (line 19) | def test_async method test_queue (line 27) | def test_queue method test_record_async (line 67) | def test_record_async method test_relation_async (line 79) | def test_relation_async method test_disable_callbacks (line 87) | def test_disable_callbacks FILE: test/conversions_test.rb class ConversionsTest (line 3) | class ConversionsTest < Minitest::Test method setup (line 4) | def setup method test_v1 (line 9) | def test_v1 method test_v1_case (line 20) | def test_v1_case method test_v1_case_sensitive (line 28) | def test_v1_case_sensitive method test_v1_term (line 40) | def test_v1_term method test_v1_weight (line 49) | def test_v1_weight method test_v1_multiple_conversions (line 58) | def test_v1_multiple_conversions method test_v1_multiple_conversions_with_boost_term (line 73) | def test_v1_multiple_conversions_with_boost_term method test_v2 (line 85) | def test_v2 method test_v2_case (line 96) | def test_v2_case method test_v2_case_sensitive (line 104) | def test_v2_case_sensitive method test_v2_term (line 116) | def test_v2_term method test_v2_weight (line 126) | def test_v2_weight method test_v2_space (line 135) | def test_v2_space method test_v2_dot (line 144) | def test_v2_dot method test_v2_unicode (line 153) | def test_v2_unicode method test_v2_score (line 162) | def test_v2_score method test_v2_factor (line 173) | def test_v2_factor method test_v2_no_tokenization (line 187) | def test_v2_no_tokenization method test_v2_max_conversions (line 196) | def test_v2_max_conversions method test_v2_max_length (line 206) | def test_v2_max_length method test_v2_zero (line 214) | def test_v2_zero method test_v2_partial_reindex (line 221) | def test_v2_partial_reindex FILE: test/default_scope_test.rb class DefaultScopeTest (line 3) | class DefaultScopeTest < Minitest::Test method setup (line 4) | def setup method test_reindex (line 8) | def test_reindex method test_search (line 18) | def test_search method default_model (line 28) | def default_model FILE: test/exclude_test.rb class ExcludeTest (line 3) | class ExcludeTest < Minitest::Test method test_butter (line 4) | def test_butter method test_butter_word_start (line 9) | def test_butter_word_start method test_butter_exact (line 14) | def test_butter_exact method test_same_exact (line 19) | def test_same_exact method test_egg_word_start (line 24) | def test_egg_word_start method test_string (line 29) | def test_string method test_match_all (line 34) | def test_match_all method test_match_all_fields (line 39) | def test_match_all_fields FILE: test/geo_shape_test.rb class GeoShapeTest (line 3) | class GeoShapeTest < Minitest::Test method setup (line 4) | def setup method test_envelope (line 34) | def test_envelope method test_polygon (line 47) | def test_polygon method test_multipolygon (line 60) | def test_multipolygon method test_disjoint (line 76) | def test_disjoint method test_within (line 90) | def test_within method test_search_match (line 104) | def test_search_match method test_search_no_match (line 117) | def test_search_no_match method test_latlon (line 130) | def test_latlon method default_model (line 143) | def default_model FILE: test/highlight_test.rb class HighlightTest (line 3) | class HighlightTest < Minitest::Test method test_basic (line 4) | def test_basic method test_with_highlights (line 9) | def test_with_highlights method test_tag (line 14) | def test_tag method test_tag_class (line 20) | def test_tag_class method test_very_long (line 25) | def test_very_long method test_multiple_fields (line 30) | def test_multiple_fields method test_fields (line 37) | def test_fields method test_field_options (line 44) | def test_field_options method test_multiple_words (line 50) | def test_multiple_words method test_encoder (line 55) | def test_encoder method test_word_middle (line 60) | def test_word_middle method test_body (line 65) | def test_body method test_multiple_highlights (line 85) | def test_multiple_highlights method test_search_highlights_method (line 96) | def test_search_highlights_method method test_match_all (line 101) | def test_match_all method test_match_all_load_false (line 106) | def test_match_all_load_false method test_match_all_search_highlights (line 111) | def test_match_all_search_highlights FILE: test/hybrid_test.rb class HybridTest (line 3) | class HybridTest < Minitest::Test method setup (line 4) | def setup method test_search (line 9) | def test_search method test_multi_search (line 16) | def test_multi_search FILE: test/index_cache_test.rb class IndexCacheTest (line 3) | class IndexCacheTest < Minitest::Test method setup (line 4) | def setup method test_default (line 8) | def test_default method test_max_size (line 15) | def test_max_size method test_thread_safe (line 22) | def test_thread_safe method test_thread_safe_max_size (line 30) | def test_thread_safe_max_size method object_ids (line 36) | def object_ids(count) method with_threads (line 40) | def with_threads FILE: test/index_options_test.rb class IndexOptionsTest (line 3) | class IndexOptionsTest < Minitest::Test method setup (line 4) | def setup method test_case_sensitive (line 8) | def test_case_sensitive method test_no_stemming (line 15) | def test_no_stemming method test_no_stem_exclusion (line 22) | def test_no_stem_exclusion method test_stem_exclusion (line 32) | def test_stem_exclusion method test_no_stemmer_override (line 42) | def test_no_stemmer_override method test_stemmer_override (line 52) | def test_stemmer_override method test_special_characters (line 62) | def test_special_characters method test_index_name (line 69) | def test_index_name method test_index_name_callable (line 75) | def test_index_name_callable method test_index_prefix (line 81) | def test_index_prefix method test_index_prefix_callable (line 87) | def test_index_prefix_callable method default_model (line 93) | def default_model FILE: test/index_test.rb class IndexTest (line 3) | class IndexTest < Minitest::Test method setup (line 4) | def setup method test_tokens (line 9) | def test_tokens method test_tokens_analyzer (line 13) | def test_tokens_analyzer method test_total_docs (line 17) | def test_total_docs method test_clean_indices (line 22) | def test_clean_indices method test_clean_indices_old_format (line 41) | def test_clean_indices_old_format method test_retain (line 51) | def test_retain method test_mappings (line 58) | def test_mappings method test_settings (line 66) | def test_settings method test_remove_blank_id (line 70) | def test_remove_blank_id method test_store_response (line 79) | def test_store_response method test_bulk_index_response (line 85) | def test_bulk_index_response method test_filterable (line 92) | def test_filterable method test_filterable_non_string (line 100) | def test_filterable_non_string method test_large_value (line 105) | def test_large_value method test_very_large_value (line 114) | def test_very_large_value method test_bulk_import_raises_error (line 126) | def test_bulk_import_raises_error FILE: test/inheritance_test.rb class InheritanceTest (line 3) | class InheritanceTest < Minitest::Test method setup (line 4) | def setup method test_child_reindex (line 9) | def test_child_reindex method test_child_index_name (line 15) | def test_child_index_name method test_child_search (line 19) | def test_child_search method test_parent_search (line 25) | def test_parent_search method test_force_one_type (line 31) | def test_force_one_type method test_force_multiple_types (line 37) | def test_force_multiple_types method test_child_autocomplete (line 44) | def test_child_autocomplete method test_parent_autocomplete (line 50) | def test_parent_autocomplete method test_parent_suggest (line 62) | def test_parent_suggest method test_reindex (line 68) | def test_reindex method test_child_models_option (line 75) | def test_child_models_option method test_missing_records (line 84) | def test_missing_records method test_inherited_and_non_inherited_models (line 101) | def test_inherited_and_non_inherited_models method test_multiple_indices (line 113) | def test_multiple_indices method test_index_name_model (line 120) | def test_index_name_model method test_index_name_string (line 125) | def test_index_name_string method test_similar (line 133) | def test_similar FILE: test/knn_test.rb class KnnTest (line 3) | class KnnTest < Minitest::Test method setup (line 4) | def setup method test_basic (line 12) | def test_basic method test_basic_exact (line 21) | def test_basic_exact method test_where (line 30) | def test_where method test_where_exact (line 40) | def test_where_exact method test_pagination (line 50) | def test_pagination method test_pagination_exact (line 61) | def test_pagination_exact method test_euclidean (line 72) | def test_euclidean method test_euclidean_exact (line 81) | def test_euclidean_exact method test_taxicab_exact (line 90) | def test_taxicab_exact method test_chebyshev_exact (line 99) | def test_chebyshev_exact method test_inner_product (line 110) | def test_inner_product method test_inner_product_exact (line 121) | def test_inner_product_exact method test_unindexed (line 130) | def test_unindexed method test_explain (line 163) | def test_explain method test_ef_search (line 201) | def test_ef_search method assert_approx (line 210) | def assert_approx(approx, field, distance, **knn_options) FILE: test/language_test.rb class LanguageTest (line 3) | class LanguageTest < Minitest::Test method setup (line 4) | def setup method test_chinese (line 10) | def test_chinese method test_chinese2 (line 22) | def test_chinese2 method test_japanese (line 32) | def test_japanese method test_japanese_search_synonyms (line 42) | def test_japanese_search_synonyms method test_korean (line 51) | def test_korean method test_korean2 (line 63) | def test_korean2 method test_polish (line 75) | def test_polish method test_ukrainian (line 83) | def test_ukrainian method test_vietnamese (line 91) | def test_vietnamese method test_stemmer_hunspell (line 102) | def test_stemmer_hunspell method test_stemmer_unknown_type (line 111) | def test_stemmer_unknown_type method test_stemmer_language (line 119) | def test_stemmer_language method assert_language_search (line 129) | def assert_language_search(term, expected) method default_model (line 133) | def default_model FILE: test/load_test.rb class LoadTest (line 3) | class LoadTest < Minitest::Test method test_default (line 4) | def test_default method test_false (line 37) | def test_false method test_false_methods (line 63) | def test_false_methods method test_false_with_includes (line 68) | def test_false_with_includes method test_false_nested_object (line 73) | def test_false_nested_object FILE: test/log_subscriber_test.rb class LogSubscriberTest (line 3) | class LogSubscriberTest < Minitest::Test method test_create (line 4) | def test_create method test_update (line 11) | def test_update method test_destroy (line 19) | def test_destroy method test_bulk (line 27) | def test_bulk method test_reindex (line 37) | def test_reindex method test_reindex_relation (line 46) | def test_reindex_relation method test_search (line 55) | def test_search method test_multi_search (line 65) | def test_multi_search method create_products (line 77) | def create_products method capture_logs (line 85) | def capture_logs FILE: test/marshal_test.rb class MarshalTest (line 3) | class MarshalTest < Minitest::Test method test_marshal (line 4) | def test_marshal method test_marshal_highlights (line 9) | def test_marshal_highlights FILE: test/match_test.rb class MatchTest (line 3) | class MatchTest < Minitest::Test method test_match (line 6) | def test_match method test_case (line 11) | def test_case method test_cheese_space_in_index (line 16) | def test_cheese_space_in_index method test_middle_token (line 26) | def test_middle_token method test_middle_token_wine (line 31) | def test_middle_token_wine method test_percent (line 36) | def test_percent method test_jalapenos (line 43) | def test_jalapenos method test_swedish (line 48) | def test_swedish method test_stemming (line 55) | def test_stemming method test_stemming_tokens (line 61) | def test_stemming_tokens method test_misspelling_sriracha (line 68) | def test_misspelling_sriracha method test_misspelling_multiple (line 73) | def test_misspelling_multiple method test_short_word (line 78) | def test_short_word method test_edit_distance_two (line 83) | def test_edit_distance_two method test_edit_distance_one (line 90) | def test_edit_distance_one method test_edit_distance_long_word (line 97) | def test_edit_distance_long_word method test_misspelling_tabasco (line 103) | def test_misspelling_tabasco method test_misspelling_zucchini (line 108) | def test_misspelling_zucchini method test_misspelling_ziploc (line 113) | def test_misspelling_ziploc method test_misspelling_zucchini_transposition (line 118) | def test_misspelling_zucchini_transposition method test_misspelling_lasagna (line 128) | def test_misspelling_lasagna method test_misspelling_lasagna_pasta (line 136) | def test_misspelling_lasagna_pasta method test_misspellings_word_start (line 143) | def test_misspellings_word_start method test_spaces_in_field (line 150) | def test_spaces_in_field method test_spaces_in_query (line 155) | def test_spaces_in_query method test_spaces_three_words (line 160) | def test_spaces_three_words method test_spaces_stemming (line 165) | def test_spaces_stemming method test_all (line 172) | def test_all method test_no_arguments (line 177) | def test_no_arguments method test_no_term (line 182) | def test_no_term method test_to_be_or_not_to_be (line 187) | def test_to_be_or_not_to_be method test_apostrophe (line 192) | def test_apostrophe method test_apostrophe_search (line 197) | def test_apostrophe_search method test_ampersand_index (line 202) | def test_ampersand_index method test_ampersand_search (line 207) | def test_ampersand_search method test_phrase (line 212) | def test_phrase method test_phrase_again (line 217) | def test_phrase_again method test_phrase_order (line 222) | def test_phrase_order method test_dynamic_fields (line 227) | def test_dynamic_fields method test_unsearchable (line 233) | def test_unsearchable method test_unsearchable_where (line 241) | def test_unsearchable_where method test_emoji (line 248) | def test_emoji method test_emoji_multiple (line 253) | def test_emoji_multiple method test_operator (line 261) | def test_operator method test_operator_scoring (line 270) | def test_operator_scoring method test_fields_operator (line 277) | def test_fields_operator method test_fields (line 288) | def test_fields method test_non_existent_field (line 296) | def test_non_existent_field method test_fields_both_match (line 301) | def test_fields_both_match FILE: test/misspellings_test.rb class MisspellingsTest (line 3) | class MisspellingsTest < Minitest::Test method test_false (line 4) | def test_false method test_distance (line 9) | def test_distance method test_prefix_length (line 14) | def test_prefix_length method test_prefix_length_operator (line 20) | def test_prefix_length_operator method test_fields_operator (line 26) | def test_fields_operator method test_below_unmet (line 37) | def test_below_unmet method test_below_unmet_result (line 42) | def test_below_unmet_result method test_below_met (line 47) | def test_below_met method test_below_met_result (line 52) | def test_below_met_result method test_field_correct_spelling_still_works (line 57) | def test_field_correct_spelling_still_works method test_field_enabled (line 63) | def test_field_enabled method test_field_disabled (line 69) | def test_field_disabled method test_field_with_transpositions (line 75) | def test_field_with_transpositions method test_field_with_edit_distance (line 80) | def test_field_with_edit_distance method test_field_multiple (line 85) | def test_field_multiple method test_field_requires_explicit_search_fields (line 94) | def test_field_requires_explicit_search_fields method test_field_word_start (line 101) | def test_field_word_start method assert_misspellings (line 108) | def assert_misspellings(term, expected, misspellings = {}, model = def... FILE: test/models/animal.rb class Animal (line 1) | class Animal FILE: test/models/artist.rb class Artist (line 1) | class Artist method should_index? (line 4) | def should_index? FILE: test/models/band.rb class Band (line 1) | class Band FILE: test/models/product.rb class Product (line 1) | class Product method search_data (line 37) | def search_data method should_index? (line 51) | def should_index? method search_name (line 55) | def search_name FILE: test/models/region.rb class Region (line 1) | class Region method search_data (line 7) | def search_data FILE: test/models/sku.rb class Sku (line 1) | class Sku FILE: test/models/song.rb class Song (line 1) | class Song method search_routing (line 4) | def search_routing FILE: test/models/speaker.rb class Speaker (line 1) | class Speaker method search_data (line 17) | def search_data FILE: test/models/store.rb class Store (line 1) | class Store method search_document_id (line 13) | def search_document_id method search_routing (line 17) | def search_routing FILE: test/multi_indices_test.rb class MultiIndicesTest (line 3) | class MultiIndicesTest < Minitest::Test method setup (line 4) | def setup method test_basic (line 9) | def test_basic method test_index_name (line 15) | def test_index_name method test_models_and_index_name (line 24) | def test_models_and_index_name method test_model_with_another_model (line 36) | def test_model_with_another_model method test_model_with_another_model_in_index_name (line 43) | def test_model_with_another_model_in_index_name method test_no_models_or_index_name (line 51) | def test_no_models_or_index_name method test_no_models_or_index_name_load_false (line 60) | def test_no_models_or_index_name_load_false method assert_search_multi (line 67) | def assert_search_multi(term, expected, options = {}) FILE: test/multi_search_test.rb class MultiSearchTest (line 3) | class MultiSearchTest < Minitest::Test method test_basic (line 4) | def test_basic method test_methods (line 14) | def test_methods method test_error (line 20) | def test_error method test_misspellings_below_unmet (line 29) | def test_misspellings_below_unmet method test_misspellings_below_error (line 36) | def test_misspellings_below_error method test_query_error (line 42) | def test_query_error FILE: test/multi_tenancy_test.rb class MultiTenancyTest (line 3) | class MultiTenancyTest < Minitest::Test method setup (line 4) | def setup method test_basic (line 8) | def test_basic method teardown (line 19) | def teardown method default_model (line 23) | def default_model FILE: test/notifications_test.rb class NotificationsTest (line 3) | class NotificationsTest < Minitest::Test method test_search (line 4) | def test_search method capture_notifications (line 17) | def capture_notifications FILE: test/order_test.rb class OrderTest (line 3) | class OrderTest < Minitest::Test method test_hash (line 4) | def test_hash method test_string (line 10) | def test_string method test_multiple (line 16) | def test_multiple method test_unmapped_type (line 29) | def test_unmapped_type method test_array (line 35) | def test_array method test_script (line 41) | def test_script FILE: test/pagination_test.rb class PaginationTest (line 3) | class PaginationTest < Minitest::Test method test_limit (line 4) | def test_limit method test_no_limit (line 10) | def test_no_limit method test_offset (line 16) | def test_offset method test_pagination (line 22) | def test_pagination method test_relation (line 48) | def test_relation method test_per (line 74) | def test_per method test_body (line 79) | def test_body method test_nil_page (line 105) | def test_nil_page method test_strings (line 113) | def test_strings method test_total_entries (line 123) | def test_total_entries method test_kaminari (line 128) | def test_kaminari method test_deep_paging (line 146) | def test_deep_paging method test_no_deep_paging (line 152) | def test_no_deep_paging method test_max_result_window (line 160) | def test_max_result_window method test_search_after (line 170) | def test_search_after method test_pit (line 189) | def test_pit method pit_supported? (line 237) | def pit_supported? FILE: test/parameters_test.rb class ParametersTest (line 3) | class ParametersTest < Minitest::Test method setup (line 4) | def setup method test_options (line 9) | def test_options method test_where (line 16) | def test_where method test_where_relation (line 23) | def test_where_relation method test_rewhere_relation (line 30) | def test_rewhere_relation method test_where_permitted (line 37) | def test_where_permitted method test_where_permitted_relation (line 43) | def test_where_permitted_relation method test_rewhere_permitted_relation (line 49) | def test_rewhere_permitted_relation method test_where_value (line 55) | def test_where_value method test_where_value_relation (line 61) | def test_where_value_relation method test_rewhere_value_relation (line 67) | def test_rewhere_value_relation method test_where_hash (line 73) | def test_where_hash method test_where_hash_relation (line 82) | def test_where_hash_relation method test_rewhere_hash_relation (line 91) | def test_rewhere_hash_relation method test_aggs_where (line 99) | def test_aggs_where method test_aggs_where_smart_aggs_false (line 106) | def test_aggs_where_smart_aggs_false FILE: test/partial_match_test.rb class PartialMatchTest (line 3) | class PartialMatchTest < Minitest::Test method test_autocomplete (line 4) | def test_autocomplete method test_autocomplete_two_words (line 9) | def test_autocomplete_two_words method test_autocomplete_fields (line 14) | def test_autocomplete_fields method test_text_start (line 19) | def test_text_start method test_text_middle (line 25) | def test_text_middle method test_text_end (line 33) | def test_text_end method test_word_start (line 39) | def test_word_start method test_word_middle (line 44) | def test_word_middle method test_word_end (line 49) | def test_word_end method test_word_start_multiple_words (line 54) | def test_word_start_multiple_words method test_word_start_exact (line 59) | def test_word_start_exact method test_word_start_exact_martin (line 64) | def test_word_start_exact_martin method test_exact (line 71) | def test_exact method test_exact_case (line 76) | def test_exact_case FILE: test/partial_reindex_test.rb class PartialReindexTest (line 3) | class PartialReindexTest < Minitest::Test method test_record_inline (line 4) | def test_record_inline method test_record_async (line 19) | def test_record_async method test_record_queue (line 37) | def test_record_queue method test_record_missing_inline (line 45) | def test_record_missing_inline method test_record_ignore_missing_inline (line 57) | def test_record_ignore_missing_inline method test_record_missing_async (line 69) | def test_record_missing_async method test_record_ignore_missing_async (line 83) | def test_record_ignore_missing_async method test_relation_inline (line 94) | def test_relation_inline method test_relation_async (line 112) | def test_relation_async method test_relation_queue (line 129) | def test_relation_queue method test_relation_missing_inline (line 137) | def test_relation_missing_inline method test_relation_ignore_missing_inline (line 149) | def test_relation_ignore_missing_inline method test_relation_missing_async (line 158) | def test_relation_missing_async method test_relation_ignore_missing_async (line 172) | def test_relation_ignore_missing_async FILE: test/query_test.rb class QueryTest (line 3) | class QueryTest < Minitest::Test method test_basic (line 4) | def test_basic method test_with_uneffective_min_score (line 10) | def test_with_uneffective_min_score method test_default_timeout (line 15) | def test_default_timeout method test_timeout_override (line 19) | def test_timeout_override method test_request_params (line 23) | def test_request_params method test_opaque_id (line 27) | def test_opaque_id method test_debug (line 38) | def test_debug method test_big_decimal (line 46) | def test_big_decimal method test_body_options_should_merge_into_body (line 55) | def test_body_options_should_merge_into_body method test_nested_search (line 62) | def test_nested_search method test_includes (line 70) | def test_includes method test_model_includes (line 78) | def test_model_includes method test_scope_results (line 94) | def test_scope_results method test_scope_results_relation (line 103) | def test_scope_results_relation method set_search_slow_log (line 114) | def set_search_slow_log(value) FILE: test/reindex_test.rb class ReindexTest (line 3) | class ReindexTest < Minitest::Test method test_record_inline (line 4) | def test_record_inline method test_record_destroyed (line 12) | def test_record_destroyed method test_record_async (line 21) | def test_record_async method test_record_async_job_options (line 32) | def test_record_async_job_options method test_record_queue (line 39) | def test_record_queue method test_process_queue_job_options (line 57) | def test_process_queue_job_options method test_record_index (line 65) | def test_record_index method test_relation_inline (line 73) | def test_relation_inline method test_relation_associations (line 80) | def test_relation_associations method test_relation_scoping (line 88) | def test_relation_scoping method test_relation_scoping_restored (line 101) | def test_relation_scoping_restored method test_relation_should_index (line 118) | def test_relation_should_index method test_relation_async (line 128) | def test_relation_async method test_relation_async_should_index (line 138) | def test_relation_async_should_index method test_relation_async_routing (line 150) | def test_relation_async_routing method test_relation_async_job_options (line 159) | def test_relation_async_job_options method test_relation_queue (line 166) | def test_relation_queue method test_relation_queue_all (line 184) | def test_relation_queue_all method test_relation_queue_routing (line 202) | def test_relation_queue_routing method test_relation_index (line 218) | def test_relation_index method test_full_async (line 225) | def test_full_async method test_full_async_should_index (line 245) | def test_full_async_should_index method test_full_async_wait (line 259) | def test_full_async_wait method test_full_async_job_options (line 271) | def test_full_async_job_options method test_full_async_non_integer_pk (line 279) | def test_full_async_non_integer_pk method test_full_queue (line 296) | def test_full_queue method test_full_refresh_interval (line 303) | def test_full_refresh_interval method test_full_resume (line 314) | def test_full_resume method test_full_refresh (line 327) | def test_full_refresh method test_full_partial_async (line 331) | def test_full_partial_async method test_wait_not_async (line 337) | def test_wait_not_async method test_object_index (line 344) | def test_object_index method test_transaction (line 351) | def test_transaction method test_both_paths (line 361) | def test_both_paths FILE: test/reindex_v2_job_test.rb class ReindexV2JobTest (line 3) | class ReindexV2JobTest < Minitest::Test method test_create (line 4) | def test_create method test_destroy (line 13) | def test_destroy FILE: test/relation_test.rb class RelationTest (line 3) | class RelationTest < Minitest::Test method test_loaded (line 4) | def test_loaded method test_mutating (line 19) | def test_mutating method test_non_mutating (line 26) | def test_non_mutating method test_load (line 33) | def test_load method test_clone (line 40) | def test_clone method test_only (line 46) | def test_only method test_except (line 50) | def test_except method test_first (line 54) | def test_first method test_first_loaded (line 62) | def test_first_loaded method test_pluck (line 70) | def test_pluck method test_model (line 76) | def test_model method test_klass (line 81) | def test_klass method test_respond_to (line 86) | def test_respond_to method test_inspect (line 95) | def test_inspect method test_to_yaml (line 120) | def test_to_yaml FILE: test/results_test.rb class ResultsTest (line 3) | class ResultsTest < Minitest::Test method test_array_methods (line 4) | def test_array_methods method test_with_hit (line 20) | def test_with_hit method test_with_score (line 34) | def test_with_score method test_model_name_with_model (line 48) | def test_model_name_with_model method test_model_name_without_model (line 54) | def test_model_name_without_model FILE: test/routing_test.rb class RoutingTest (line 3) | class RoutingTest < Minitest::Test method test_query (line 4) | def test_query method test_mappings (line 9) | def test_mappings method test_correct_node (line 14) | def test_correct_node method test_incorrect_node (line 19) | def test_incorrect_node method test_async (line 24) | def test_async method test_queue (line 31) | def test_queue FILE: test/scroll_test.rb class ScrollTest (line 3) | class ScrollTest < Minitest::Test method test_works (line 4) | def test_works method test_body (line 28) | def test_body method test_all (line 52) | def test_all method test_all_relation (line 57) | def test_all_relation method test_no_option (line 62) | def test_no_option method test_block (line 70) | def test_block method test_block_relation (line 80) | def test_block_relation FILE: test/search_synonyms_test.rb class SearchSynonymsTest (line 3) | class SearchSynonymsTest < Minitest::Test method setup (line 4) | def setup method test_bleach (line 9) | def test_bleach method test_burger_buns (line 14) | def test_burger_buns method test_bandaids (line 19) | def test_bandaids method test_reverse (line 24) | def test_reverse method test_not_stemmed (line 29) | def test_not_stemmed method test_word_start (line 35) | def test_word_start method test_directional (line 40) | def test_directional method test_case (line 48) | def test_case method test_multiple_words (line 53) | def test_multiple_words method test_multiple_words_expanded (line 60) | def test_multiple_words_expanded method test_reload_synonyms (line 67) | def test_reload_synonyms method test_reload_synonyms_better (line 71) | def test_reload_synonyms_better method write_synonyms (line 90) | def write_synonyms(contents) method default_model (line 94) | def default_model FILE: test/search_test.rb class SearchTest (line 3) | class SearchTest < Minitest::Test method test_search_relation (line 4) | def test_search_relation method test_unscoped (line 11) | def test_unscoped method test_body (line 30) | def test_body method test_body_incompatible_options (line 35) | def test_body_incompatible_options method test_block (line 41) | def test_block method test_missing_records (line 50) | def test_missing_records method test_bad_mapping (line 65) | def test_bad_mapping method test_missing_index (line 74) | def test_missing_index method test_invalid_body (line 78) | def test_invalid_body FILE: test/select_test.rb class SelectTest (line 3) | class SelectTest < Minitest::Test method test_basic (line 4) | def test_basic method test_relation (line 12) | def test_relation method test_block (line 20) | def test_block method test_block_arguments (line 25) | def test_block_arguments method test_multiple (line 32) | def test_multiple method test_reselect (line 40) | def test_reselect method test_array (line 47) | def test_array method test_single_field (line 53) | def test_single_field method test_all (line 61) | def test_all method test_none (line 68) | def test_none method test_includes (line 76) | def test_includes method test_excludes (line 84) | def test_excludes method test_include_and_excludes (line 92) | def test_include_and_excludes FILE: test/should_index_test.rb class ShouldIndexTest (line 3) | class ShouldIndexTest < Minitest::Test method test_basic (line 4) | def test_basic method test_default_true (line 9) | def test_default_true method test_change_to_true (line 13) | def test_change_to_true method test_change_to_false (line 23) | def test_change_to_false method test_bulk (line 33) | def test_bulk FILE: test/similar_test.rb class SimilarTest (line 3) | class SimilarTest < Minitest::Test method test_similar (line 4) | def test_similar method test_fields (line 9) | def test_fields method test_order (line 15) | def test_order method test_limit (line 20) | def test_limit method test_per_page (line 27) | def test_per_page method test_routing (line 34) | def test_routing FILE: test/suggest_test.rb class SuggestTest (line 3) | class SuggestTest < Minitest::Test method setup (line 4) | def setup method test_basic (line 9) | def test_basic method test_perfect (line 14) | def test_perfect method test_phrase (line 19) | def test_phrase method test_empty (line 24) | def test_empty method test_without_option (line 28) | def test_without_option method test_multiple_fields (line 33) | def test_multiple_fields method test_multiple_fields_highest_score_first (line 41) | def test_multiple_fields_highest_score_first method test_multiple_fields_same_value (line 48) | def test_multiple_fields_same_value method test_fields_option (line 55) | def test_fields_option method test_fields_option_multiple (line 62) | def test_fields_option_multiple method test_fields_partial_match (line 69) | def test_fields_partial_match method test_fields_partial_match_boost (line 74) | def test_fields_partial_match_boost method test_multiple_models (line 79) | def test_multiple_models method test_multiple_models_no_fields (line 85) | def test_multiple_models_no_fields method test_star (line 90) | def test_star method assert_suggest (line 96) | def assert_suggest(term, expected, options = {}) method assert_suggest_all (line 106) | def assert_suggest_all(term, expected, options = {}) FILE: test/support/activerecord.rb class Product (line 76) | class Product < ActiveRecord::Base class Store (line 85) | class Store < ActiveRecord::Base class Region (line 89) | class Region < ActiveRecord::Base class Speaker (line 92) | class Speaker < ActiveRecord::Base class Animal (line 95) | class Animal < ActiveRecord::Base class Dog (line 98) | class Dog < Animal class Cat (line 101) | class Cat < Animal class Sku (line 104) | class Sku < ActiveRecord::Base class Song (line 107) | class Song < ActiveRecord::Base class Band (line 110) | class Band < ActiveRecord::Base class Artist (line 114) | class Artist < ActiveRecord::Base FILE: test/support/apartment.rb type Rails (line 1) | module Rails function env (line 2) | def self.env class Tenant (line 14) | class Tenant < ActiveRecord::Base FILE: test/support/helpers.rb class Minitest::Test (line 1) | class Minitest::Test method setup (line 4) | def setup method setup_animal (line 12) | def setup_animal method setup_region (line 16) | def setup_region method setup_speaker (line 20) | def setup_speaker method setup_model (line 24) | def setup_model(model) method store (line 34) | def store(documents, model = default_model, reindex: true) method store_names (line 53) | def store_names(names, model = default_model, reindex: true) method assert_search (line 58) | def assert_search(term, expected, options = {}, model = default_model) method assert_search_relation (line 63) | def assert_search_relation(expected, relation) method assert_order (line 67) | def assert_order(term, expected, options = {}, model = default_model) method assert_order_relation (line 72) | def assert_order_relation(expected, relation) method assert_equal_scores (line 76) | def assert_equal_scores(term, options = {}, model = default_model) method assert_first (line 80) | def assert_first(term, expected, options = {}, model = default_model) method assert_warns (line 84) | def assert_warns(message) method build_relation (line 91) | def build_relation(model, term, **options) method with_options (line 99) | def with_options(options, model = default_model) method with_callbacks (line 113) | def with_callbacks(value, &block) method with_transaction (line 121) | def with_transaction(model, &block) method activerecord? (line 129) | def activerecord? method mongoid? (line 133) | def mongoid? method default_model (line 137) | def default_model method ci? (line 141) | def ci? method tagged_logger (line 146) | def tagged_logger FILE: test/support/mongoid.rb class Product (line 8) | class Product class Store (line 30) | class Store class Region (line 37) | class Region class Speaker (line 44) | class Speaker class Animal (line 50) | class Animal class Dog (line 56) | class Dog < Animal class Cat (line 59) | class Cat < Animal class Sku (line 62) | class Sku class Song (line 68) | class Song class Band (line 74) | class Band class Artist (line 83) | class Artist FILE: test/support/redis.rb type RedisInstrumentation (line 13) | module RedisInstrumentation function call (line 14) | def call(command, redis_config) function call_pipelined (line 19) | def call_pipelined(commands, redis_config) FILE: test/synonyms_test.rb class SynonymsTest (line 3) | class SynonymsTest < Minitest::Test method test_bleach (line 4) | def test_bleach method test_burger_buns (line 9) | def test_burger_buns method test_bandaids (line 14) | def test_bandaids method test_reverse (line 19) | def test_reverse method test_stemmed (line 24) | def test_stemmed method test_word_start (line 29) | def test_word_start method test_directional (line 34) | def test_directional method test_case (line 42) | def test_case FILE: test/unscope_test.rb class UnscopeTest (line 3) | class UnscopeTest < Minitest::Test method setup (line 4) | def setup method test_reindex (line 10) | def test_reindex method test_relation_async (line 18) | def test_relation_async method create_records (line 29) | def create_records method default_model (line 37) | def default_model FILE: test/where_test.rb class WhereTest (line 3) | class WhereTest < Minitest::Test method test_where (line 4) | def test_where method test_relation (line 79) | def test_relation method test_string_operators (line 107) | def test_string_operators method test_unknown_operator (line 114) | def test_unknown_operator method test_regexp (line 121) | def test_regexp method test_alternate_regexp (line 126) | def test_alternate_regexp method test_special_regexp (line 131) | def test_special_regexp method test_regexp_not_anchored (line 136) | def test_regexp_not_anchored method test_regexp_anchored (line 144) | def test_regexp_anchored method test_regexp_case (line 153) | def test_regexp_case method test_prefix (line 159) | def test_prefix method test_exists (line 164) | def test_exists method test_like (line 177) | def test_like method test_like_escape (line 187) | def test_like_escape method test_like_special_characters (line 192) | def test_like_special_characters method test_like_optional_operators (line 209) | def test_like_optional_operators method test_ilike (line 216) | def test_ilike method test_ilike_escape (line 226) | def test_ilike_escape method test_ilike_special_characters (line 231) | def test_ilike_special_characters method test_ilike_optional_operators (line 236) | def test_ilike_optional_operators method test_script (line 243) | def test_script method test_script_string (line 253) | def test_script_string method test_string (line 260) | def test_string method test_nil (line 267) | def test_nil method test_id (line 275) | def test_id method test_empty (line 281) | def test_empty method test_empty_array (line 286) | def test_empty_array method test_range_array (line 293) | def test_range_array method test_range_array_again (line 302) | def test_range_array_again method test_near (line 310) | def test_near method test_near_hash (line 318) | def test_near_hash method test_near_within (line 326) | def test_near_within method test_near_within_hash (line 335) | def test_near_within_hash method test_geo_polygon (line 344) | def test_geo_polygon method test_top_left_bottom_right (line 362) | def test_top_left_bottom_right method test_top_left_bottom_right_hash (line 370) | def test_top_left_bottom_right_hash method test_top_right_bottom_left (line 378) | def test_top_right_bottom_left method test_top_right_bottom_left_hash (line 386) | def test_top_right_bottom_left_hash method test_multiple_locations (line 394) | def test_multiple_locations method test_multiple_locations_with_term_filter (line 402) | def test_multiple_locations_with_term_filter method test_multiple_locations_hash (line 411) | def test_multiple_locations_hash method test_nested (line 419) | def test_nested