Commit Graph

4732 Commits

Author SHA1 Message Date
Shay Banon 1e937fd5d1 Allow index: "no" for _type
fixes #2696
2013-02-26 22:06:52 +01:00
Martijn van Groningen 7c53d22ce9 Moved resolveClosestNestedObjectMapper to MapperService 2013-02-26 17:48:02 +01:00
Igor Motov de243493c9 Changing dynamic index and cluster settings should work on master-only nodes
Fixes #2675
2013-02-26 08:54:46 -05:00
Shay Banon bd75b731c6 move to 0.90.0.Beta2 snap 2013-02-26 10:33:57 +01:00
Shay Banon ab3a59e0bf release 0.90.0.Beta1 2013-02-26 10:32:50 +01:00
Martijn van Groningen 2b5e3f5586 Fixed resolving closest nested object when sorting on a field inside nested object 2013-02-25 16:21:22 +01:00
Martijn van Groningen c751df5ee5 Removed unused nested children collector. 2013-02-25 14:13:59 +01:00
Shay Banon c7a05b1dda add helper method to know if ObjectMappers have a nested mapping 2013-02-25 13:40:05 +01:00
Shay Banon 6e3300efd3 better error message on nested sorting 2013-02-25 13:32:00 +01:00
Shay Banon 4bb4e49155 Empty list in ids query should not fail, but match no docs
relates to #2687
2013-02-25 12:51:34 +01:00
Shay Banon bde36647fb Terms/Ids filter: Support empty list of values, resulting in no match for it
closes #2687
also closes #2686
2013-02-25 12:26:49 +01:00
Shay Banon 4145d154bb add a test for empty lookup terms filter 2013-02-25 11:58:58 +01:00
Shay Banon 358c0e35fb upgrade to latest jackson 2013-02-25 11:15:45 +01:00
Shay Banon 10ca4d5305 move internal stream facet type lookup to work with bytes 2013-02-25 10:57:18 +01:00
David Pilato c689651706 Merge pull request #2681 from lukas-vlcek/master
Fix exception typo
2013-02-24 00:14:11 -08:00
Lukas Vlcek a42f9491b5 fix typo in exception 2013-02-24 07:47:25 +01:00
Shay Banon 595e0e254e [Code refactoring] IndicesStats -> IndicesStatsResponse
fixes #1782
2013-02-23 14:23:36 +01:00
Shay Banon 7787901a2d cleanup the pom 2013-02-23 10:52:30 +01:00
David Pilato 4c493ac71d Revert changes on *Request classes from issue
Relative to #2657
2013-02-23 10:37:56 +01:00
David Pilato a646e126e9 Display list of all available site plugins on /_plugins/ end point fix #2664 2013-02-23 09:34:06 +01:00
Shay Banon eea3a01765 only return 404 on actual index settings missing, on "_all", return 200
relates to #2676
2013-02-22 23:08:38 +01:00
Shay Banon 915019587d Get settings on empty node fails with ArrayIndexOutOfBoundsException[0]
fixes #2676
2013-02-22 23:08:33 +01:00
Igor Motov b8cc8e56c4 Improve stability of SimpleRobinEngineTests 2013-02-22 14:59:49 -05:00
Shay Banon a3096157f8 upgrade to netty 3.6.3 2013-02-22 17:20:41 +01:00
Shay Banon ad70105c39 keep the rescorer builder consistent with other builders, without the use of setters 2013-02-22 14:06:39 +01:00
Shay Banon 03fdc6aa80 Query DSL: Terms filter to allow for terms lookup from another document
closes #2674
2013-02-22 14:04:10 +01:00
Shay Banon 6978aa2189 mark source as "safe" when copying it over 2013-02-22 12:59:41 +01:00
Shay Banon a234e45b59 fix boolean to is from get
relates to #2657
2013-02-22 12:45:56 +01:00
Igor Motov ec3492c67c Improve stability of the testReusePeerRecovery test 2013-02-21 16:06:33 -05:00
Shay Banon b7f5295674 update jsr166y adn jst166e to latest versions 2013-02-21 21:11:14 +01:00
Shay Banon 4753ffdf1e allow to set which queue implementation to use
expert setting, but still would be great to be able to control it
2013-02-21 20:07:40 +01:00
Drew Raines 5cce40fa5e Merge branch 'pull/2670'
Add 32-bit v6 jdk check for deb.
2013-02-21 08:26:18 -06:00
Ilya Nazarov da3d682f0e Check for java-6-openjdk-i386 in init.d
There is check for /usr/lib/jvm/java-6-openjdk-amd64, but no for 32-bit systems (/usr/lib/jvm/java-6-openjdk-i386).
2013-02-21 21:13:51 +07:00
Igor Motov 4ea4de6f8d Add logging information for releasing node lock 2013-02-20 17:53:27 -05:00
Shay Banon 7bb092440a facet refactoring, default collector base post implementation
automatically implement post based on collector
2013-02-20 15:36:11 +01:00
Igor Motov ce6f0e27bf Make file distribution among several disks configurable
Fixes #2650
2013-02-19 21:43:43 -05:00
David Pilato b7afa0f44e Fix test for Support trailing slashes on plugin _site URLs #2654 2013-02-19 21:16:47 +01:00
Martijn van Groningen 3b31c1216e Made the `term_vector` json field the leading way of configuring term vectors. Supported options: `no`, `yes`, `with_offsets`, `with_positions`, `with_positions_offsets` and`with_positions_offsets_payloads`. 2013-02-19 20:55:43 +01:00
Igor Motov 5b9e9a004a Make sure that in SitePluginTests http client connects to the correct node and closes the node after the test 2013-02-19 14:42:24 -05:00
Igor Motov f96c1f1e10 When a node is leaving LocalDiscovery cluster, rerouting should be performed on the master node 2013-02-19 13:14:33 -05:00
Igor Motov d126558dec Add check for health timeout to shardCleanup test 2013-02-19 13:12:26 -05:00
David Pilato 8ab9d2dd1f Support trailing slashes on plugin _site URLs fix #2654 2013-02-19 09:21:45 +01:00
Igor Motov cfaa859bb2 Improve stability of UpdateNumberOfReplicasTests 2013-02-18 20:12:39 -05:00
Igor Motov 4222478b18 Make it simpler to determine which version of state was used to calculate health 2013-02-18 20:02:29 -05:00
Igor Motov 5746c50ef9 Improve stability of shardsCleanup test 2013-02-18 19:35:12 -05:00
Igor Motov 183a74c866 Improve stability of testSimpleAwareness test 2013-02-18 19:31:07 -05:00
Simon Willnauer 06fc9c77ba don't exclude services otherwise es.jar doesn't include the SPI information to load XBloomPostings 2013-02-18 23:06:01 +01:00
Martijn van Groningen 303e87fb69 Added support for sorting by fields inside one or more nested objects.
The sorting by nested field support has the following parameters on top of the already existing sort options:

nested_path - Defines the on what nested object to sort. The actual sort field must be a direct field inside this nested object. The default is to use the most immediate inherited nested object from the sort field.
nested_filter - A filter the inner objects inside the nested path should match with in order for its field values to be taken into account by sorting. Common case is to repeat the query / filter inside the nested filter or query. By default no nested_filter is active.
Either the highest (max) or lowest (min) inner object is picked for during sorting depending on the sort_mode being used. The sort_mode options avg and sum can still be used for number based fields inside nested objects. All the values for the sort field are taken into account for each nested object.

Closes #2662
2013-02-18 22:10:41 +01:00
Simon Willnauer 8db436f107 Remove backported Lucene 4 spatial code in favor of the released version in Lucene 4.1 2013-02-18 18:43:55 +01:00
Jeffrey Gerard 0dfc2169d7 Added Testcase and BugFix fixing #2626 where GeoShape intersects filter omitted matching docs.
SpatialPrefixTree#recursiveGetNodes uses an optimization that prevents
recursion into the deepest tree level if a parent node in the penultimate
level covers all its children.  This produces a bug if the optimization
happens both at indexing and at query/filter time.

This patch fixes the bug by disabling the optimization at indexing time
(to avoid adding overhead for query-heavy workloads).

See LUCENE-4770 for reference
2013-02-18 18:43:47 +01:00