Skip to content

[FIX] Fix search with type specified in the class #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c854837
[STORE] Added the blank skeleton of the "elasticsearch-persistence" gem
karmi Mar 25, 2014
2931bb9
[STORE] Added the Persistence::Repository module and client integration
karmi Mar 25, 2014
2eacd41
[STORE] Added the default `Repository::Class` for convenience
karmi Mar 29, 2014
9ddafe7
[STORE] Added the `Naming` module
karmi Mar 29, 2014
dc66422
[STORE] Added the `Serialize` module
karmi Mar 29, 2014
b3c190a
[STORE] Added the `Store` module
karmi Mar 29, 2014
413fc8e
[STORE] Added the `Find` module
karmi Mar 31, 2014
3417fb4
[STORE] Added the `Search` module
karmi Mar 31, 2014
b3d798e
[STORE] Added the DSL variant of `klass` setter method
karmi Mar 31, 2014
2b5b00d
[STORE] Added the methods from the "elasticsearch-model" gem
karmi Mar 31, 2014
a9dd556
[STORE] Refactored the `:index` paramter to use repository `index_name`
karmi Mar 31, 2014
9943940
[STORE] Changed that `document_type` method returns `nil` when no `kl…
karmi Apr 1, 2014
33efa79
[STORE] Changed that the `Store` methods reflect that `klass` returns…
karmi Apr 1, 2014
ae88f2f
[STORE] Added the `index` and `type` aliases for `index_name` and `do…
karmi Apr 1, 2014
8e527ef
[STORE] Added, that `document_type` can set the document type for rep…
karmi Apr 1, 2014
394b728
[STORE] Changed, that repository methods respect `document_type` when…
karmi Apr 1, 2014
eb625ea
[STORE] Implemented the gateway pattern for the repository integration
karmi Apr 2, 2014
caddce7
[STORE] Added, that `index_name` is inferred from the including class
karmi Apr 2, 2014
47efae2
[STORE] Added, that the repository class reflects the `:index` option
karmi Apr 2, 2014
270cfc5
[STORE] Added that the `client` can be set in a DSL-like way
karmi Apr 3, 2014
c2bbf1f
[STORE] Added `respond_to_missing?` to the proxy objects
karmi Apr 3, 2014
b674c66
[STORE] Added the `method_added` hook to allow defining gateway metho…
karmi Apr 4, 2014
f2900aa
[STORE] Added code annotation, documentation and examples
karmi Apr 4, 2014
817b64b
[STORE] Added a comprehensive usage information / tutorial to the README
karmi Apr 4, 2014
170b8e2
[STORE] Added an example Sinatra web application for the repository p…
karmi Apr 7, 2014
5ba8533
[FIX] Fix search with type specified in the class
pepe Apr 15, 2014
d6b1bcb
[FIX] Add stub for document type for search test
pepe Apr 15, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions elasticsearch-persistence/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
*.gem
*.rbc
.bundle
.config
.yardoc
Gemfile.lock
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
4 changes: 4 additions & 0 deletions elasticsearch-persistence/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in elasticsearch-persistence.gemspec
gemspec
13 changes: 13 additions & 0 deletions elasticsearch-persistence/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (c) 2014 Elasticsearch <http://www.elasticsearch.org>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading