Commit Graph

1470 Commits

Author SHA1 Message Date
kimchy 49439a09e2 fix logging 2010-11-01 20:42:10 +02:00
kimchy f79719beaa fix parsing of bytes value 2010-10-31 15:47:19 +02:00
kimchy feb854b742 On full cluster restart, replicas transaction logs are not getting cleaned, closes #465. 2010-10-31 14:36:10 +02:00
kimchy b8fa68f97a check if the commit point has a size at all, if not, not flushed yet, its ok 2010-10-31 12:23:56 +02:00
kimchy f4a7887fe1 exclude build from idea module jarjar 2010-10-31 11:46:28 +02:00
kimchy c14783d3e2 remove jarjar'ed files that are not needed (notice, license) 2010-10-31 11:45:10 +02:00
kimchy 0ec79e6645 upgrade to aws 1.0.14 2010-10-31 11:35:24 +02:00
kimchy e6b4a8b55c remove inclusion of config and logging file in jar 2010-10-31 10:50:35 +02:00
kimchy be96e9495a upgrade to gradle 0.9 rc2 2010-10-30 19:57:50 +02:00
kimchy 96a1ad6335 When on linux, force it not to swap elasticsearch process (jvm), closes #464. 2010-10-30 19:40:24 +02:00
kimchy 1feb43a0af Index: Move compound format setting to `index.compound_format` (old setting still supported), closes #463. 2010-10-30 18:24:28 +02:00
kimchy db24148413 fix listAll when using switch dir to return unique list of files 2010-10-30 01:26:00 +02:00
kimchy b315c5f848 add getOffsetGap to field analyzer 2010-10-29 19:05:11 +02:00
kimchy 8f7a8dabc1 only flush if there is something to flush 2010-10-29 17:50:51 +02:00
kimchy 11c55185e8 add another test 2010-10-29 00:22:49 +02:00
kimchy c194fa67e9 default logger (when embedded in java) to log with org.elasticsearch prefix for simpler logging configruation 2010-10-28 23:39:37 +02:00
kimchy 7082593166 add term filter toString 2010-10-28 23:18:24 +02:00
kimchy e31cbb5267 fix NPE when enabling trace logging 2010-10-28 21:47:55 +02:00
kimchy 4579c04a9e Mapper: Ip Type Support (ipv4), auto detection with dynamic mapping, closes #461. 2010-10-28 12:02:20 +02:00
kimchy 6f8b859d90 better inet address serialization, also better handle ipv6 2010-10-28 01:48:54 +02:00
kimchy e7fdf16402 add number of data nodes to cluster health 2010-10-28 00:39:53 +02:00
kimchy b8708f276d Transport Thrift: Upgrade to thrift 0.5.0, closes #457. 2010-10-27 23:12:53 +02:00
kimchy d487d809ea Query DSL: Revert back and have range, terms, and prefix filter _cache set to true, closes #456. 2010-10-27 20:34:24 +02:00
kimchy 3a9dc8f452 change back to cached thread pool 2010-10-27 20:13:42 +02:00
kimchy 185f5a9e18 Search: Change default operation threading to `thread_per_shard` from `single_thread`, closes #455. 2010-10-27 19:51:49 +02:00
kimchy ca67c12de5 add and/not/or docid sets, not just docsets, and improve caching behavior 2010-10-27 18:16:15 +02:00
kimchy 8fef3df16f improve threading usage on discovery and fd 2010-10-26 23:49:09 +02:00
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 2460ee8072 Thrift: Response might get corrupted with extra data, closes #452. 2010-10-26 14:58:57 +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