Sha256: 022258c494f2acf588b57a8755101f7a4962c43a7ae99082d09d8bdefb920ee6

Contents?: true

Size: 940 Bytes

Versions: 4

Compression:

Stored size: 940 Bytes

Contents

# Add here your search queries
# see the detailed Source documentation at http://elastics.github.io/elastics/doc/2-elastics/2-Templating/2-Sources.html


# ANCHORS litheral key: it will not be used as template
# you can store here fragments of queries to reuse in the templates below
ANCHORS:
  -

# this is a a basic template loaded in your class <%= @module_name %>
# it defines the 'q' tag. You can check its usage from the rails console by just typing:
# >> puts <%= @module_name %>.elastics.doc
# You can eventually restrict the doc to a single method by pasing its name:
# >> puts <%= @module_name %>.elastics.doc :search
# see the detailed doc for this feature at http://elastics.github.io/elastics/doc/2-elastics/4-Self-Documentation.html

# the :cleanable_query is a special variable that get cleaned up if contains illegal characters for the Lucene syntax
search:
- query:
    query_string:
      query: <<cleanable_query= "*">>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elastics-rails-1.0.7 lib/generators/elastics/setup/templates/elastics_dir/elastics.yml.erb
elastics-rails-1.0.6 lib/generators/elastics/setup/templates/elastics_dir/elastics.yml.erb
elastics-rails-1.0.5 lib/generators/elastics/setup/templates/elastics_dir/elastics.yml.erb
elastics-rails-1.0.4 lib/generators/elastics/setup/templates/elastics_dir/elastics.yml.erb