Simon Willnauer
dc9a052287
Respect CandidateGenerator#size if set in the request and reduce the total #of candidates to the shard size.
...
Closes #2752
2013-03-09 13:36:40 +01:00
Shay Banon
cc6c07365c
has_child query AVG score mode does not always work correctly
...
fixes #2750
2013-03-08 08:50:11 -08:00
Shay Banon
eb956e7c09
Term/Terms filters on numeric fields gives wrong result
...
fixes #2746
2013-03-07 22:12:22 -08:00
Shay Banon
c298c19177
don't use cache for ordinals for small max ord
2013-03-07 08:45:01 -08:00
Juan David Pastas
59ea426bf2
Update README.textile
...
Update license year
2013-03-07 11:49:35 +01:00
Simon Willnauer
2c8d8ef8e0
check for null on setters taht must not be null in IndicesReplicationOperationRequest
2013-03-07 10:18:10 +01:00
Benjamin Devèze
35f5ca915d
Add support for ignore_indices to delete by query
...
Closes #2734
2013-03-07 10:17:51 +01:00
Simon Willnauer
12a2808168
exhaust object to allow subsequent objects to be parsed correctly
2013-03-06 15:34:59 +01:00
Simon Willnauer
1f217f6a7b
Move smoothing model into its own sub-object in the PhraseSuggest request
...
Closes #2735
2013-03-06 14:31:21 +01:00
Shay Banon
e1409a9f0e
Problems with range searches for time with lte
...
fixes #2731
2013-03-05 18:10:30 -08:00
Shay Banon
9a25867bfe
Network: A closed channel might not always fire up a close event
...
fixes #2733
2013-03-05 11:49:10 -08:00
Igor Motov
acff102234
Implement search shards API
...
Closes #2726
2013-03-05 09:17:59 -05:00
Simon Willnauer
1eb24d7efc
use a base ShingleFilterFactory to simplify default shingle detection
2013-03-05 12:32:50 +01:00
Simon Willnauer
0f95499703
if word scorer is on unigram make sure we score the current position not position 0
2013-03-05 12:31:32 +01:00
Simon Willnauer
876b5a3dcd
prefer totalTermFrequency over docFreq in PhraseSuggester
2013-03-05 10:46:25 +01:00
Simon Willnauer
315744be55
Set shardSize according to the total size if not explicitly specified. Closes #2729
2013-03-05 09:22:23 +01:00
Shay Banon
3e264f6b95
cleanup deletion of content in shards
...
we are very conservative on when we delete data, remove the actual options of deleting data that are not used
2013-03-04 20:41:19 -08:00
Shay Banon
1ed07c1794
add a list of files that exists in the index to the failure
2013-03-04 18:15:06 -08:00
Shay Banon
d609571897
add close method to field data
2013-03-04 16:42:29 -08:00
Shay Banon
cfd8bddde4
Remove JMX connector creation flags, and JMX attributes
...
closes #2728
2013-03-04 16:12:18 -08:00
Shay Banon
774622abfb
Change field data stats header from `field_data` to `fielddata`.
...
fixes #2727
2013-03-04 23:50:33 +01:00
Shay Banon
d2dc672f43
allow to specify a list of settings to get a value for
2013-03-04 23:41:43 +01:00
Drew Raines
a8d52b58b6
Remove obsolete test.
2013-03-04 15:22:40 -06:00
Andrii Gakhov
dc28151ad7
fixed interchanged values in field_data stats fixes #2724
2013-03-04 11:19:33 +01:00
Shay Banon
a1b2434339
revert change on listing plugins on /_plugin
...
we should provide it as part of nodes info
relates to #2664
2013-03-03 21:52:44 +01:00
Shay Banon
a7da27c714
Field Data: Add `node` level cache type
...
closes #2722
2013-03-03 19:55:06 +01:00
Shay Banon
e01879a698
add evictions stats to field data
2013-03-03 18:41:17 +01:00
Simon Willnauer
e9ba98913b
simplify searchShard selection when routing is present
2013-03-03 14:32:19 +01:00
Benjamin Devèze
09f20e3d4c
Fix bug when searching concrete and routing aliased indices
...
Closes #2683
2013-03-03 14:31:57 +01:00
uboness
881cb7900c
Change geo_shapes support:
...
* Exposed the spatial strategy to be configurable as part of the geo_shape mappings
* Exposed the spatial strategy to be customizable at query time (will be used to generate the geo_shape filter/query)
* Removed XTermQueryPrefixTreeStrategy and reverted to use the lucene TermQueryPrefixTreeStrategy instead
* Made the RecursivePrefixTreeStrategy the default strategy to be used
* Removed support for all spatial operations except "intersects"
* Updated both the GeoShapeQueryBuilder and GeoShapeFilterBuilder with all the changes (removed the option of specifying the operation type (as only intersects is supported) and added the option of setting the filter/query spatial strategy
Closes #2720
2013-03-02 17:13:58 +01:00
Simon Willnauer
b9513511e0
Check for null query on Percolator query loading and omit the query if it can't be parsed.
...
Closes #2547
2013-03-02 16:55:39 +01:00
Shay Banon
0be5a7888f
fix local flag in cluster health
2013-03-02 16:00:10 +01:00
Shay Banon
5dd18acd0e
proper reason for cluster state task
2013-03-02 15:48:01 +01:00
Shay Banon
50d121315b
add ability for cluster health to wait for current events to be processed
...
help with tests that run on slow machines
2013-03-02 14:25:45 +01:00
tristanbuckner
9273d76cdf
Make BoolFilterBuilder output proper json
2013-03-02 01:07:50 +01:00
Shay Banon
ea097afd91
add proper testing for bool filter
2013-03-02 01:07:05 +01:00
Shay Banon
361d6bf89a
spin a bit to wait for condition in test, so slow machines will still run it correctly
2013-03-01 23:36:13 +01:00
Shay Banon
fe8b3725bb
lazy set the indices on the search request now that its validated
2013-03-01 22:45:59 +01:00
Shay Banon
6687ecb038
Query DSL: Filtered query to make query optional (defaults to mach_all)
...
closes #2718
2013-03-01 22:40:22 +01:00
Matt Weber
dfd92265b7
Correct order of routing and parent params for Get
...
The order in which routing and parent parameters are set is important. The
routing parameter must be set first or it will overwrite the parent routing
value.
2013-03-01 22:24:14 +01:00
Shay Banon
2eea99255d
Analyze API returns in YAML format if analyzed string begins with ---
...
fixes #2624
2013-03-01 22:17:09 +01:00
Shay Banon
9b68e98ea2
more strict check before trying to parse and detect a string as a date
...
fixes #2694
2013-03-01 22:15:32 +01:00
Jeremy Jongsma
d16efbe47f
Throw correct ClassNotFoundException to debug classloader issues
2013-03-01 21:56:59 +01:00
Simon Willnauer
aaa3c48b3c
Throw IAE if indices is null or contains a null value.
...
Closes #2656
2013-03-01 21:26:23 +01:00
Simon Willnauer
fced68c22d
ensure that suggestion only added on reduce if they are present in the shard response
2013-03-01 21:09:10 +01:00
Martijn van Groningen
d99b532f0f
Supporting sort modes `avg` and `sum` when sorting inside nested objects.
...
Previously this commit either sort modes `min` or `max` (depending on sort order) was used when sort modes `avg` and `sum` were picked.
Closes #2701
2013-03-01 19:53:20 +01:00
Simon Willnauer
39f362326e
Short Curcuit response if no indices exits and make sure listener is notified.
...
Closes #2692
2013-03-01 15:15:56 +01:00
Simon Willnauer
3c1f291801
Fail in metadata parsing if the id path is not a value but rather an array or an object.
...
Closes #2275
2013-03-01 13:00:29 +01:00
Simon Willnauer
b03f3fcd6c
throw IAE if fieldname is null - Closes #2711
2013-03-01 12:10:07 +01:00
Simon Willnauer
9c3898900d
always use the max score across the shards in suggest response
2013-03-01 12:09:29 +01:00