uboness
2f835621ae
added more wait for green status on aggs tests
2013-12-02 11:42:51 +01:00
Martijn van Groningen
a1d58bf486
fix mapping error in p/c benchmarks
2013-12-02 11:31:31 +01:00
Martijn van Groningen
809c7d07f0
only wrap the parentFilter in ApplyAcceptedDocsFilter, not the other short circuit filters.
2013-12-02 11:05:55 +01:00
Conrad Pankoff
87246af256
[DOCS] Fixed typos and corrected grammar
2013-12-02 10:08:26 +01:00
uboness
cdc7dfbb2c
Changed the "script_lang" parameter to "lang" in all value source based aggs - to be consistent with all other script based APIs.
2013-12-02 02:01:03 +01:00
Martijn van Groningen
079ac79617
Added random filtered query logic the to random parent query tests.
...
Fixed bug in ParentQuery.ChildScorer#advance(), the parent value was checked for the _uid field while the _parent should have been checked.
2013-12-02 00:18:59 +01:00
Martijn van Groningen
292e53fe77
The short circuit mechanism always needs to be wrapped with the live docs. In certain scenarios the live docs isn't passed down with acceptedDocs.
...
For example when a has_child is wrapped in a filtered query as query and the wrapped filter is cached.
The short circuit mechanism in that case counts down based on deleted docs, which then yields lower results than is expected.
Relates to #4306
2013-12-02 00:18:59 +01:00
Simon Willnauer
27f9f9bdb4
Log intermediate pending searchers as trace instead of debug
2013-12-01 19:44:56 +01:00
Simon Willnauer
d2bd476e70
add more ensureGreen to aggs tests
2013-12-01 18:58:39 +01:00
Martijn van Groningen
04675f85cf
Make the ChildrenQuery and ParentQuery not rely on the fact that score of 0 means that there isn't a match.
2013-12-01 17:22:58 +01:00
Martijn van Groningen
1285894f5f
Also short circuit within segment when score mode is avg
2013-12-01 16:44:19 +01:00
Martijn van Groningen
ac1e985670
Fixes related to accepted docs not taken into account:
...
* Removed the applyAcceptedDocs in ChildrenConstantScoreQuery, they need to be applied at all times. (because of short circuit mechanism)
* Moved ParentDocSet to FilteredDocIdSetIterator, because it fits better than MatchDocIdSet.
* Made similar changes to ParentConstantScoreQuery for consistency between the two queries. The bug accepted docs bug didn't occur in the ParentConstantScoreQuery.
* Updated random p/c tests to randomly update parent or child docs during the test run.
Closes #4306
2013-11-30 20:05:55 +01:00
Simon Willnauer
5d2c334bbd
wait for green in tests for now
2013-11-30 19:41:49 +01:00
Alexander Reelsen
971b828e76
Cat API: Improve help and execute help before sending server requests
...
* Force the cat API classes to have simple help available by extending from a AbstractCatAction
* Use a set binder on guice creation to create the help on node start up
* Make sure that the help/field info is returned without querying any data
2013-11-30 16:22:30 +01:00
uboness
88d829ad78
added more assertions to aggs tests
2013-11-30 05:44:04 +01:00
uboness
efea1298cd
added assertions for shard failures in stats agg tests
2013-11-30 03:58:11 +01:00
Shay Banon
ed01d53506
NullPointerException in FsTranslog when reverting transient log
...
This happens when reverting the trans transaction log on failure, and when that happens, actually we might have failed on the transient translog creation to being with....
fixes #4223
2013-11-30 00:30:32 +01:00
Luca Cavanna
fe1d22af01
trimmed down SimpleQueryTests + more assertAcked
2013-11-29 21:15:28 +01:00
Luca Cavanna
de206e72f1
Added simple test for minScore
2013-11-29 20:35:40 +01:00
Clinton Gormley
bc393b6d79
Changed the minScore comparator from > to >=
...
Closes #4303
2013-11-29 20:29:20 +01:00
Adrien Grand
65541e6912
Fix computation of explanations for AllTermQuery.
...
The use of freq() instead of sloppyFreq() and the fact that `numMatches` was
not updated in `setFreqCurrentDoc` could lead to an inaccurate score in the
explanation.
Close #4298
2013-11-29 19:24:56 +01:00
Benjamin Devèze
c20d4bb69e
Add line feed for prettified main REST action
2013-11-29 16:42:50 +01:00
Luca Cavanna
8e54319a1d
test classes cleanup (fixed warnings and typos)
2013-11-29 16:22:20 +01:00
Luca Cavanna
b214943522
fixed typo in TestCluster
2013-11-29 14:55:24 +01:00
uboness
0d6a35b9a7
- Added support for term filtering based on include/exclude regex on the terms agg
...
- Added javadoc to the TermsBuilder
Closes #4267
2013-11-29 13:46:48 +01:00
uboness
afb0d119e4
- Added docs for the value_count aggregation
...
- Fixed typos in the terms facets docs
- Fixed aggregation docs layout
- Added docs for shard_size in term aggregation
2013-11-29 12:35:42 +01:00
Luca Cavanna
630641f292
Refactored put mapping api to make use of the new recently introduced generic ack mechanism
...
Note: we were previously waiting for ack only from all nodes that contain shards for the indices that the mapping updatewas applied to. This change introduces a wait for ack from all nodes, consitent with other api as the ack is meant more on the cluster state itself, which is held by all nodes and needs to be updated on all nodes anyway.
Closes #4228
2013-11-29 11:39:23 +01:00
Alexander Reelsen
0ec3eaf53d
Completion postings format: Write hole character
...
Another issue found by randomized testing.
2013-11-29 10:40:33 +01:00
Andrew Raines
28ecafac11
Display placeholder for non-master-eligible nodes.
2013-11-29 02:35:45 -06:00
Andrew Raines
455c92d27b
Check for load avg before attempting to display.
2013-11-29 02:32:54 -06:00
Andrew Raines
9aee9949e5
Convert _cat/count to TimestampedTable.
2013-11-29 02:19:56 -06:00
Andrew Raines
d16aacb8d3
Supply field descriptions for TimestampedTable.
2013-11-29 02:19:15 -06:00
Clinton Gormley
b48344f296
[DOCS] Doc'ed cluster pending tasks
2013-11-29 08:21:26 +01:00
Andrew Raines
91999e14ce
Add _cat/pending_tasks.
...
Closes #4251 .
2013-11-29 01:09:06 -06:00
Lee Hinman
9939e81d88
[DOCS] Fix porter stem filter name in other stemming docs
2013-11-28 22:14:47 -07:00
Lee Hinman
fb4e903e35
[DOCS] Fix name of porter stemming token filter
2013-11-28 22:01:19 -07:00
Andrew Raines
8f4c8e0d4a
Should be limiting health request to concreteIndices.
...
Closes #4296 .
2013-11-28 21:13:32 -06:00
imotov
d2f91173b7
Increase priority of shard started task to URGENT
2013-11-28 19:20:18 -05:00
David Pilato
fa762f09fa
OOM when building with java6
...
The maven-compiler-plugin upgrade from 2.3.2 to 3.1 (see #4279 ) could cause out of memory issue when building the project with Maven and JDK6 and default memory settings (no `MAVEN_OPTS`).
This issue does not appear with JDK7.
2013-11-28 18:22:29 +01:00
Martijn van Groningen
61aba89110
Added aggregation support to the percolate api.
...
Closes #4245
2013-11-28 17:26:07 +01:00
Martijn van Groningen
9fe2b8e074
Randomly use a cached filter.
...
Wrap the ChildrenQuery in a XFilteredQuery to also execute other code paths (scorer#advance)
2013-11-28 17:22:51 +01:00
Martijn van Groningen
2ca5fd64fe
Fixed positive infinity bug that can occur in specific scenarios when score mode average is used.
...
Closes #4291
2013-11-28 17:21:29 +01:00
David Pilato
baaa1a6aa2
Upgrade Maven Surefire Plugin to 2.16
...
Closes #4275 .
2013-11-28 14:56:51 +01:00
David Pilato
90c3fce4fe
Upgrade Maven Source Plugin to 2.2.1
...
Closes #4276 .
2013-11-28 14:56:34 +01:00
David Pilato
975c43f6d5
Upgrade RPM Maven Plugin to 2.1-alpha-3
...
Closes #4282 .
2013-11-28 14:56:20 +01:00
David Pilato
d18f0a28d9
Upgrade Maven Resources Plugin to 2.6
...
Closes #4280 .
2013-11-28 14:56:07 +01:00
David Pilato
fa0a5e5844
Upgrade Maven Jar Plugin to 2.4
...
Closes #4281 .
2013-11-28 14:55:53 +01:00
David Pilato
2b32121e34
Upgrade Maven Eclipse Plugin to 2.9
...
Closes #4277 .
2013-11-28 14:55:40 +01:00
David Pilato
eac602ec70
Upgrade Maven Dependency Plugin to 2.8
...
Closes #4274 .
2013-11-28 14:52:58 +01:00
David Pilato
b1c62b02b0
Upgrade Maven Compiler Plugin to 3.1
...
Closes #4279 .
2013-11-28 14:52:32 +01:00