kimchy
73e6aa72cd
for some reason the test only runs with @Test on the main class...
2010-10-26 20:20:58 +02:00
Adriano Ferreira
c08ad0cad6
Fix parsing of "geo_distance" filter wrt "distance" / "unit" parameters
...
The problem was that when "unit" was given,
the conversion to miles was happening too early,
which caused wrong computations. This change
postpones this computation when one really knows
which unit should be used.
2010-10-26 20:13:29 +02:00
Adriano Ferreira
9b206146e3
Fix MILES.toKilometers() and KILOMETERS.toMiles()
...
This mistake should have been caught by DistanceUnitTests.
But the problem is that the tests in this file does not
run during the execution of the test suite, and I don't have
a clue why this is so.
2010-10-26 20:13:29 +02:00
Adriano Ferreira
2d15cd8009
Another test for parsing "geo_distance" filter: 12mi and km
...
If an explicit unit is provided with "distance",
the "unit" can be safely ignored, as it works
as a fallback unit.
2010-10-26 20:13:29 +02:00
Adriano Ferreira
8c8b7bee3a
Three tests for parsing "geo_distance" filter: 12 miles in km
...
The added test files should be equivalent. Actually they
hit the same bug as change
Two tests for parsing "geo_distance" filter: distance/unit parameters
2010-10-26 20:13:29 +02:00
Adriano Ferreira
244a566e49
Two tests for parsing "geo_distance" filter: default unit is km
2010-10-26 20:13:29 +02:00
Adriano Ferreira
0660a2912e
Two tests for parsing "geo_distance" filter: distance/unit parameters
...
Those two are supposed to be equivalent:
distance: 12, unit: "mi"
vs
distance: "12", unit: "mi"
but they are not because of an underlying bug in the query parsing
code, providing non-equivalent behavior whether a number or a string
comes via JSON.
2010-10-26 20:13:29 +02:00
kimchy
14703aa1be
doc
2010-10-26 20:05:57 +02:00
kimchy
184276154c
add search stress test
2010-10-26 17:17:12 +02:00
kimchy
5804e9132a
Query DSL: `term` filter to have `_cache` set to `true` by default, closes #453 ,
2010-10-26 13:40:14 +02:00
kimchy
442f1d7677
add the request id to the timeout message
2010-10-26 11:22:02 +02:00
kimchy
c59bfea43c
add the request id to the timeout message
2010-10-26 11:19:31 +02:00
kimchy
529303c533
Query: match_all query (also in query_string: *:*) is very slow
2010-10-26 11:04:55 +02:00
kimchy
5966d2005d
refacto package name from facets to facet (make more sense when facet will be easily pluggable)
2010-10-25 18:49:30 +02:00
kimchy
0a0ac35792
bring back query parsing cache (weak)
2010-10-25 18:09:40 +02:00
kimchy
2c65be2aad
better exception when a field is missing
2010-10-25 16:33:55 +02:00
kimchy
cccefad091
upgrade to netty 3.2.3
2010-10-25 16:15:05 +02:00
kimchy
bc4121c06b
Query DSL: `term`, `term`, `prefix`, and `range` filter are now weakly cached, for more strong caching, set `_cache` to true, closes #450 .
2010-10-25 15:59:15 +02:00
kimchy
5c5b882b5d
clean code
2010-10-25 14:44:47 +02:00
kimchy
517f3eb0fd
chance default query parser cache to none from weak
2010-10-25 14:43:06 +02:00
kimchy
deada942e5
Query DSL: `constant_score` and `filtered` queries cache filters by default, remove it, closes #449 .
2010-10-25 13:52:15 +02:00
kimchy
835a81c16c
always use deletion aware constant score
2010-10-25 13:35:43 +02:00
kimchy
b7eacc3618
add comment / todo
2010-10-24 12:38:24 +02:00
kimchy
9a80fedf52
add simple map stream capability
2010-10-23 23:19:08 +02:00
kimchy
ca7a7467dc
Indices API: Add open and close index, closes #447 .
2010-10-23 21:52:09 +02:00
kimchy
a76824e395
make index not recovered a bock used in both gateways (shared/blob and local)
2010-10-23 17:03:38 +02:00
kimchy
3f8c03db95
add test in node allocation is there are no shards, no need to do local gateway allocation
2010-10-23 01:25:23 +02:00
kimchy
f0f62ce00c
improve test to wait for 2 nodes
2010-10-23 01:24:53 +02:00
kimchy
e11589f3c7
add doc
2010-10-23 01:07:37 +02:00
kimchy
62526444fd
better caching of missing filter / query
2010-10-22 19:44:25 +02:00
kimchy
b0a0604473
Query DSL: Query String _missing_ and _exists_ syntax, closes #446 .
2010-10-22 18:14:07 +02:00
kimchy
8b0daf48f4
Query DSL: Query String _missing_ and _exists_ syntax, closes #446 .
2010-10-22 17:54:02 +02:00
kimchy
9237dafef9
Query DSL: Query String _missing_ and _exists_ syntax, closes #446 .
2010-10-22 17:51:19 +02:00
kimchy
f63ee3158a
Query DSL: Add `exists` and `missing` filters to filter documents where a field either has a value or not in them, closes #445 .
2010-10-22 15:14:05 +02:00
kimchy
9a8e033424
improve fixing negative query with adding the optimized match_all query
2010-10-22 14:50:48 +02:00
kimchy
5d1d927e09
Write Consistency Level for index/delete/delete_by_query/bulk with one/quorum/all. Defaults to quorum, closes #444 .
2010-10-22 02:51:00 +02:00
kimchy
5649df572a
update search expiration to work in scheduled reaper mode
2010-10-21 16:38:44 +02:00
kimchy
c37a0afbf0
improve update of mappings, and delete index process with the new optimization of when index is created
2010-10-20 12:49:21 +02:00
kimchy
0b593bd6d9
upgrade to guava r07
2010-10-20 12:09:19 +02:00
kimchy
ae5bc20959
Reduce multiple indices overhead, don't create Indices data on nodes that don't hold any shard for an index, closes #441 .
2010-10-20 02:57:49 +02:00
kimchy
1235358848
remove unused indices service
2010-10-19 19:50:12 +02:00
kimchy
a4eea0aeaa
change index creation / deletion logic not to wait for it to be created on other nodes since now, they might not be created...
2010-10-19 19:33:27 +02:00
kimchy
69b8b0f437
don't use the index serivce to get the stored blobs in shared gateway, move it to upper node level
2010-10-19 18:03:48 +02:00
kimchy
53a3df5d8e
move list of local files to be indices level, so no need for index created on a node in order to list it
2010-10-19 17:36:21 +02:00
kimchy
5635260922
remove check on if indices has an index, cluster state is enough
2010-10-19 16:42:39 +02:00
kimchy
4c8978237f
move operation routing to be cluster level and not index level
2010-10-19 16:23:39 +02:00
kimchy
1eee7f381a
dont case node names and index names
2010-10-18 19:03:48 +02:00
kimchy
5c760d1e8c
don't case the index name in cluster health, use string constants in xcontent generation
2010-10-18 18:55:38 +02:00
kimchy
3a52c2f7f4
Improve automatic publish network address logic, closes #439 .
2010-10-18 15:19:24 +02:00
kimchy
019c844dd1
Plugins: plugins should now be in extracted format under `ES_HOME/plugins`, closes #438 .
2010-10-18 11:14:16 +02:00