Skip to content
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

Modifying the FilterOp structure #238

Merged
merged 28 commits into from
Nov 25, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d68401e
Add term search filter and modify search query json
Mar 22, 2015
cf98c14
Add and filter
Mar 25, 2015
dc4e366
Fix and filter
Mar 25, 2015
d6236b0
Add or filter
Mar 25, 2015
736af2b
Cleanup filter dsl a bit
Mar 26, 2015
64df646
Remove the extra root query node
Mar 26, 2015
ce50bb1
Add limit to filterop and lenient to querydsl
Mar 27, 2015
54029f5
Merge remote-tracking branch 'mattbaird/master'
Mar 28, 2015
963428c
Add more filters to the filter struct
Apr 1, 2015
967d7c7
Add geodistance filters
Apr 2, 2015
61a3465
Add exists and missing filter create functions
Apr 2, 2015
aa53842
Fix Terms filter and compile error
Apr 2, 2015
c394b75
Forgot this file change for the last commit
Apr 2, 2015
7d9074c
Update tests to match new filter API
Apr 4, 2015
99c2cb8
Update vagrant image and use apt-get to install es
Apr 4, 2015
628e61a
Fix a terms query test
Apr 4, 2015
5e43987
Start adding filter dsl tests
Apr 4, 2015
b2eeb9d
Merge remote-tracking branch 'mattbaird/master'
Apr 4, 2015
eb0ff28
Merge properly
Apr 4, 2015
de5a0aa
Finish new filter dsl tests
Apr 8, 2015
6649d46
Make filter name more consistent
Apr 8, 2015
122c75b
Merge remote-tracking branch 'mattbaird/master'
Apr 8, 2015
084143b
Merge branch 'mattbaird/master'
May 21, 2015
1c8bddf
Make boolean filters variadic
Jun 9, 2015
774b152
Update filter tests to use convey rather than assert
Sep 10, 2015
9bb50d9
Fix tests
Sep 10, 2015
41d3e40
Revert vagrantfile change
Nov 25, 2015
54b3449
Lint and add godoc to searchfilter
Nov 25, 2015
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
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Vagrant.configure("2") do |config|
vb.gui = false
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--cpus", "1"]
# This allows symlinks to be created within the /vagrant root directory,
# This allows symlinks to be created within the /vagrant root directory,
# which is something librarian-puppet needs to be able to do. This might
# be enabled by default depending on what version of VirtualBox is used.
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
Expand Down
2 changes: 1 addition & 1 deletion lib/searchaggregate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func TestAggregateFilter(t *testing.T) {
avg := Aggregate("avg_price").Avg("price")

dateAgg := Aggregate("in_stock_products").Filter(
Range().Field("stock").Gt(0),
Filter().Range("stock", nil, 0, nil, nil, ""),
)

dateAgg.Aggregates(
Expand Down
Loading