Commit Graph

7951 Commits

Author SHA1 Message Date
Martijn van Groningen 3b73209123 An improvement to unicast discovery to also ping nodes the node itself received a ping from.
Also moved the unicast tests all in a single package.

Closes #5508
2014-03-31 10:51:25 +07:00
Andrew O'Brien bd9c1bc8d9 Update has-parent-filter.asciidoc
"This filter return child..." => This filter returns child...
2014-03-31 00:06:35 +02:00
Simon Willnauer c84f975ff3 [TEST] Wait for shards to allocate before cleaning caches 2014-03-29 21:06:29 +01:00
javanna 5665ea9dad Fixed highlighting inconsistencies between REST and Java api
Exposed HighlightBuilder missing global options in Java API: fragmentSize, numOfFragments, highlightFilter, boundaryMaxScan and boundaryChars
Exposed SearchRequestBuilder missing global options shortcuts: setHighlighterFragmentSize, setHighlighterNumOfFragments, setHighlighterFilter, setHighlighterBoundaryMaxScan, setHighlighterBoundaryChars, setHighlighterFragmenter, setHighlighterPhraseLimit & setHighlighterForceSource

Closes #5281
2014-03-28 18:01:03 +01:00
Clinton Gormley 73547648ef [TEST] Update TTL test can fail on faster boxes - improve range of valid vals 2014-03-28 17:23:17 +01:00
Kevin Wang 8ab22a53fe fix dynamic_type in dynamic_template
closes #5256
2014-03-28 14:54:55 +01:00
javanna 34e9f8e83b [TEST] Removed skip regex sections as all the runners implemented the feature 2014-03-28 12:19:46 +01:00
Kevin Wang 5a2d195eb7 add human readable start_time and refresh_interval
closes #5280
2014-03-28 12:05:08 +01:00
Kevin Wang ceed22fe00 Add suggest stats
closes #4032
2014-03-28 11:13:54 +01:00
Holger Hoffstätte 0c1b9a6670 Restore streamInput() performance over PagedBytesReference.
Closes #5589
2014-03-28 11:02:53 +01:00
Kevin e78bbbf3ec add CBOR data format support 2014-03-28 20:30:39 +11:00
Simon Willnauer 68bc785de8 Update .gitignore to ignore the execution hints files 2014-03-28 10:01:08 +01:00
Simon Willnauer ca8ff571f9 Use only one shard in SuggestSearchTests#testPhraseBoundaryCases to get reliable statistics 2014-03-28 09:54:21 +01:00
Lee Hinman 8fbd1bdd48 Add the `field_value_factor` function to the function_score query
The `field_value_factor` function uses the value of a field in the
document to influence the score.

A query that looks like:
{
  "query": {
    "function_score": {
      "query": {"match": { "body": "foo" }},
      "functions": [
        {
          "field_value_factor": {
            "field": "popularity",
            "factor": 1.1,
            "modifier": "square"
          }
        }
      ],
      "score_mode": "max",
      "boost_mode": "sum"
    }
  }
}

Would have the score modified by:

square(1.1 * doc['popularity'].value)

Closes #5519
2014-03-27 14:29:37 -06:00
Lee Hinman 9ef5136e3d Be less verbose logging ClusterInfoUpdateJob failures
Closes #5222
2014-03-27 13:31:01 -06:00
Shay Banon 680a4ebbea cleanup second static cluster in test
hopefully this will remove the testing infra from failing on hanging to memory
2014-03-27 11:10:08 -07:00
Shay Banon 6fce15beec Tribe: Index level blocks, index conflict settings
allow to configure on the index level which blocks can optionally be applied using tribe.blocks.indices prefix settings.
allow to control what will be done when a conflict is detected on index names coming from several clusters using the tribe.on_conflict setting. Defaults remains "any", but now support also "drop" and "prefer_[tribeName]".
closes #5501
2014-03-27 09:45:20 -07:00
Peter Dyson 029c7b174a Adding Kopf to community list of monitoring tools.
Adding versatile monitoring and administration tool Kopf to the community section of the documentation.
2014-03-27 17:07:49 +01:00
Simon Willnauer f1b32c4636 [Build] use the same execution hint file across the pom file 2014-03-27 16:28:22 +01:00
Simon Willnauer 6eb0f3e882 [TEST] Reset global cluster if tearDown failes to prevent subsequent failures 2014-03-27 16:22:22 +01:00
Simon Willnauer 5619ef5951 [JAVA7 Upgrade] Replace try/finally with 2014-03-27 16:00:25 +01:00
Simon Willnauer 1952df982b [JAVA7 Upgrade] Replace explicit type with <> 2014-03-27 15:54:45 +01:00
Simon Willnauer 49d84cb47f [JAVA7 Upgrade] Move to Long.compare 2014-03-27 15:48:12 +01:00
Simon Willnauer 11b51b1780 [Build] use branch version in execution hit file name 2014-03-27 15:32:53 +01:00
Adrien Grand b5b82626e7 Forbid Math.abs(int/long).
We have had a couple of bugs because of the use of these methods without paying
attention that it might return a negative value when provided with MIN_VALUE.
There is one common and legitimate usage of this method in order to perform
a modulo operation which would always return a positive number. This use-case
has been extracted to MathUtils.mod.

Close #5562
2014-03-27 14:50:43 +01:00
Adrien Grand 800d4624c8 Fix IndexShardRoutingTable's shard randomization to not throw out-of-bounds
exceptions.

Close #5559
2014-03-27 14:33:37 +01:00
Martijn van Groningen d3065acf14 [TEST] Made ttl test more predictable
* Only run the test with one node, to make sure only a single purger thread is running.
* Instead of generating the _timestamp upon indexing in ES, define the _timestamp in the documents.
* Verify the responses from the index requests.
2014-03-27 17:12:05 +07:00
David Pilato 85b9aafaad [DOCS] `_type` instead of Type Field 2014-03-27 08:35:15 +01:00
Martijn van Groningen 22b13f5449 Now really fix eager fielddata loading.
Relates to #5557
2014-03-27 13:52:57 +07:00
Martijn van Groningen 5a0c1eb195 Fixed space in licence header. 2014-03-27 12:17:24 +07:00
Martijn van Groningen ec016c735c Fixes a bug when the field has been configured with eager fielddata loading, the fielddata is not being loaded.
Closes #5557
2014-03-27 12:10:05 +07:00
Igor Motov 3ffd0a1dfa Remove deprecated gateways
Closes #5422
2014-03-26 18:10:51 -04:00
javanna c5e6749e12 [TEST] removed leftover ElasticsearchIntegrationTest#randomIndexTemplate
used cluster().randomIndexTemplate instead
2014-03-26 22:59:06 +01:00
javanna 89dd722340 [TEST] Moved wipe* methods, randomIndexTemplate & ensureEstimatedStats from ElasticsearchIntegrationTest to TestCluster
This is the first to make it possible to have a different impl of TestCluster (e.g. based on an external cluster) that has the same methods but a different impl for them (e.g. it might use the REST API to do the same instead of the Java API)

Closes #5542
2014-03-26 17:27:35 +01:00
Igor Motov c2e38fbf78 [DOCS] Clarify nested type documentation 2014-03-26 11:57:41 -04:00
Simon Willnauer a12a36ef09 Convert TermQuery to PrefixQuery if PHRASE_PREFIX is set
We miss to add a single term to a prefix query if the query in only a
single term.

Closes #5551
2014-03-26 16:22:04 +01:00
Adrien Grand 3fd89bef94 [TEST] Increase logging on MinDocCountTests. 2014-03-26 15:14:48 +01:00
javanna 42c36ef72d [DOCS] fixed typo
Closes #5272
2014-03-26 14:51:02 +01:00
Holger Hoffstätte 280d4bfd28 Assorted fixes for bugs in the PagedBytesReference tests, plus a typo
where the wrong variable was used for a calculation.

Closes #5549
2014-03-26 14:27:16 +01:00
Boaz Leskes 196e3c3602 Capture and set start time in Delete By Query operations
This is important for queries/filters that use `now` in date based queries/filters

Closes #5540
2014-03-26 13:28:45 +01:00
Holger Hoffstätte ab3e22d17c Fix for zero-sized content throwing off toChannelBuffer(). Also
short-circuit writeTo(..) accordingly to avoid unnecessary work.

Fixes #5543
2014-03-26 10:43:47 +01:00
Kevin Wang 374b633a4b add uppercase token filter
closes #5539
2014-03-26 15:07:43 +07:00
Martijn van Groningen 2c65711dd9 [TEST] Added extra test for multi fields with default `include_in_all` settings, in which only the main field should end up in the `_all` field. 2014-03-26 14:34:44 +07:00
Igor Motov 6354bc4861 [TEST] Make sure that there are no relocating shards before taking snapshot
Temporary workaround for #5531
2014-03-25 16:22:29 -04:00
Adrien Grand b0beb3c8e1 Fix PMD warning: don't reassign method parameters. 2014-03-25 18:03:37 +01:00
Holger Hoffstätte cb430bd139 Fix compilation error from last commit. 2014-03-25 17:57:49 +01:00
Boaz Leskes 3d0d3ee082 Added versions 1.1.1, 1.0.3 & 0.90.14 2014-03-25 17:51:48 +01:00
bleskes 5d832374dd Update Documentation Feature Flags [1.1.0] 2014-03-25 17:51:30 +01:00
Holger Hoffstätte 424bffca74 Temp. disable use of new PagedBytesReference since it breaks HTTP replies with 0-sized Content-Length 2014-03-25 17:45:32 +01:00
Adrien Grand 431b4024e9 Internally manipulate the terms execution hint as an enum instead of a String.
Close #5530
2014-03-25 16:49:53 +01:00