Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for highlighting of phrase prefix queries #1065

Closed
wants to merge 490 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 22, 2012

  1. Rest API: Add HEAD support for /{index}/{type}/{id} to quickly ch…

    …eck if doc exists or not, closes elastic#2047.
    kimchy committed Jun 22, 2012
    Copy the full SHA
    ae77013 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    df62e39 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2012

  1. Copy the full SHA
    efe85f3 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    3163499 View commit details
    Browse the repository at this point in the history
  3. better thread naming

    kimchy committed Jun 23, 2012
    Copy the full SHA
    6fb836c View commit details
    Browse the repository at this point in the history
  4. River name re-use not possible between node shutdowns, closes elastic…

    …#1921.
    
    This effectively happens because we don't flush before deleting a mapping, which causes it to still reply the changes happening for it on the transaction log, meaning the mapping are still around on the index level.
    kimchy committed Jun 23, 2012
    Copy the full SHA
    ded5b77 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    2fb867b View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2012

  1. Copy the full SHA
    6e7764a View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2012

  1. Copy the full SHA
    376779d View commit details
    Browse the repository at this point in the history
  2. add 0.19.6

    kimchy committed Jun 25, 2012
    Copy the full SHA
    e523c71 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c0f9e33 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    d01048c View commit details
    Browse the repository at this point in the history
  5. add 0.19.7

    kimchy committed Jun 25, 2012
    Copy the full SHA
    2e610ea View commit details
    Browse the repository at this point in the history
  6. don't double set settings with es.default. or elasticseearch.default.

    though harmless, since we don't have any "default" component, and effectively has not effect on the settings used, it still puts settings that we don't really need
    kimchy committed Jun 25, 2012
    Copy the full SHA
    5533fe2 View commit details
    Browse the repository at this point in the history
  7. deb package fails to start elasticsearch

    The ability to use es.default prefix broke the deb package that uses it now.
    kimchy committed Jun 25, 2012
    Copy the full SHA
    11ca3ea View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    c39a27a View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    6c74f99 View commit details
    Browse the repository at this point in the history
  10. Stored Compression: failure to fetch document in certain cases (read …

    …failure, index compression works), closes elastic#2055.
    kimchy committed Jun 25, 2012
    Copy the full SHA
    12a644c View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2012

  1. Copy the full SHA
    eb954a6 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7f77cfa View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    2eee927 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    2b893fe View commit details
    Browse the repository at this point in the history
  5. add 0.19.8

    kimchy committed Jun 26, 2012
    Copy the full SHA
    acc9783 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2012

  1. Copy the full SHA
    d2bf87c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    834c795 View commit details
    Browse the repository at this point in the history
  3. Setting index to no ends up using by default the "keyword" analyzer o…

    …n it, which means one can't highlight on it when searching on _all, closes elastic#2062.
    kimchy committed Jun 27, 2012
    Copy the full SHA
    644dcb9 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    dbeda1a View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    a4ad84b View commit details
    Browse the repository at this point in the history
  6. Partial update without script

    Allow the use of "doc" as the update source when a script is not
    specified.  New fields are added, existing fields are overwritten, and
    maps are merged recursively.
    mattweber authored and kimchy committed Jun 27, 2012
    Copy the full SHA
    d6bc17f View commit details
    Browse the repository at this point in the history
  7. cleanups

    kimchy committed Jun 27, 2012
    Copy the full SHA
    0aa0b9e View commit details
    Browse the repository at this point in the history
  8. Upgrade to netty 3.5.1

    kimchy committed Jun 27, 2012
    Copy the full SHA
    1ffd68f View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2012

  1. Have rest request also allow to get the content as a streamable

    (note, this will break plugins that implement a rest handler..., like wares, thrift, and memcached, until they are upgraded)
    kimchy committed Jun 28, 2012
    Copy the full SHA
    016e2e7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7454c7c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    a872c88 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    0745424 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    f2e39e4 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2012

  1. Copy the full SHA
    8bab859 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    565db26 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2012

  1. Copy the full SHA
    22bdd16 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2012

  1. Copy the full SHA
    e5c89de View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    743d3f7 View commit details
    Browse the repository at this point in the history
  3. ElasticSearchIllegalStateException: stream marked as compressed, but …

    …no compressor found on transport layer, closes elastic#2076.
    kimchy committed Jul 1, 2012
    Copy the full SHA
    6cd9b92 View commit details
    Browse the repository at this point in the history
  4. don't delete shards state in the state handle, but let the indices st…

    …ore eventually delete it based on its logic of when to delete a shard
    kimchy committed Jul 1, 2012
    Copy the full SHA
    3ab85ba View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    bdf146d View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    b2c4876 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2012

  1. improve dangling index support to not detect explicit deleted index a…

    …s dangling, harden when we delete the _state of an index
    kimchy committed Jul 2, 2012
    Copy the full SHA
    1668533 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1c3c737 View commit details
    Browse the repository at this point in the history
  3. add 0.19.9

    kimchy committed Jul 2, 2012
    Copy the full SHA
    2436f64 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2012

  1. Copy the full SHA
    57023c8 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2012

  1. Copy the full SHA
    5f1b1c6 View commit details
    Browse the repository at this point in the history
  2. when needing to copy over the bytes from the netty content channel, z…

    …ero it out so ti can be GC'ed
    kimchy committed Jul 5, 2012
    Copy the full SHA
    0a615ca View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    2328776 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    d844093 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    2982686 View commit details
    Browse the repository at this point in the history
  6. Add an interface to be implemented by native scripts to be able to ex…

    …plain the score
    hibnico authored and kimchy committed Jul 5, 2012
    Copy the full SHA
    a77c824 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    dcf9194 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    8d1e04a View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2012

  1. Thread Pool: Allow to configure the query_type for fixed thread pool …

    …(linked/array), defaults to array, closes elastic#2086.
    kimchy committed Jul 6, 2012
    1
    Copy the full SHA
    5d93b2b View commit details
    Browse the repository at this point in the history
  2. buffer management refactoring

    First phase at improving buffer management and reducing even further buffer copies. Introduce a BytesReference abstraction, allowing to more easily slice and "read/write references" from streams. This is the foundation for later using it to create smarter buffers on top of composite netty channels for example (which http now produces) as well as reducing buffer copies when sending transport/rest responses.
    kimchy committed Jul 6, 2012
    Copy the full SHA
    3523356 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2012

  1. Copy the full SHA
    5f5458f View commit details
    Browse the repository at this point in the history
  2. move rest request to provide content as BytesReference

    this allows for better buffer usage, specifically when forwarding requests to other nodes
    kimchy committed Jul 7, 2012
    Copy the full SHA
    f7b538e View commit details
    Browse the repository at this point in the history
  3. use netty frame decoder again

    with the new bytes reference abstraction, and the new composite buffer handling in frame decoder, it makes more sense to move back and use netty frame decoder again, since we can easily slice refernces acorss composite buffers, and reduce copies when using compression
    kimchy committed Jul 7, 2012
    Copy the full SHA
    12beff9 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    b27cc13 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2012

  1. Copy the full SHA
    d3e9506 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1dd30bd View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2012

  1. Better ExplainableSearchScript interface

    hibnico authored and kimchy committed Jul 9, 2012
    Copy the full SHA
    e91a0d8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1a085d9 View commit details
    Browse the repository at this point in the history
  3. yuck!, hack around snappy printing to System.err the failure to load …

    …its library if its not found
    kimchy committed Jul 9, 2012
    Copy the full SHA
    0bb7496 View commit details
    Browse the repository at this point in the history
  4. Introduce Text abstraction, allowing for improved representation of s…

    …trings, apply to HighlightedField (breaks backward for Java API from String to Text), closes elastic#2093.
    
    By introducing the Text abstraction, we can keep (long) text fields in their UTF8 bytes format, and no need to convert them to a string when serializing it back to Json for example.
    
    The first place we can apply this is to highlighted text, which can be long.. . This does breaks backward comp. for people using the Java API where the HighlightField now has a Text as its content, and not String.
    kimchy committed Jul 9, 2012
    Copy the full SHA
    99d2f27 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2012

  1. upgrade to jackson 2.0.4

    kimchy committed Jul 10, 2012
    Copy the full SHA
    57e966e View commit details
    Browse the repository at this point in the history
  2. propagate cluster event to shard and meta states in local gateway eve…

    …n when state persistence is disabled, so they can act on it if needed
    kimchy committed Jul 10, 2012
    Copy the full SHA
    877f2ff View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    bfb4a29 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    7ff4371 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2012

  1. Copy the full SHA
    83323f2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    de50683 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ee3253d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    29d6b0e View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    5517df6 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2012

  1. Copy the full SHA
    51ff839 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0cebcc5 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7a23b4f View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2012

  1. upgrade to guava 12.0.1

    kimchy committed Jul 14, 2012
    Copy the full SHA
    73a34ee View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    83a61ca View commit details
    Browse the repository at this point in the history
  3. If all filters are null OR is empty...

    andriusj authored and kimchy committed Jul 14, 2012
    Copy the full SHA
    c3ccfe0 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    bd219f3 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2012

  1. Copy the full SHA
    cc2a6ba View commit details
    Browse the repository at this point in the history
  2. make sure we use utf8 charset

    kimchy committed Jul 19, 2012
    Copy the full SHA
    153c0de View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2012

  1. *:* query string query should resolve to match_all query, since the w…

    …ildcard field support, it no longer does
    kimchy committed Jul 21, 2012
    Copy the full SHA
    443f740 View commit details
    Browse the repository at this point in the history
  2. Fix NodeStats comment.

    drewr authored and kimchy committed Jul 21, 2012
    Copy the full SHA
    2253d03 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2012

  1. Copy the full SHA
    90e94eb View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2012

  1. Copy the full SHA
    6e20056 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2012

  1. improve writing text as utf8 when having a string if we can write dir…

    …ectly the utf8 bytes
    kimchy committed Jul 28, 2012
    Copy the full SHA
    a41477e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    3338736 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7edafcf View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2012

  1. bytes reference to know how to convert to channel buffer, so it can b…

    …e used directly when sending it over with netty
    kimchy committed Jul 29, 2012
    Copy the full SHA
    408a742 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2012

  1. Transport/Http: Remove explicit setting of send/receive buffer, and i…

    …mprove netty receive buffer predictor, closes elastic#2124.
    kimchy committed Jul 30, 2012
    Copy the full SHA
    4eb85bb View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a63aa6c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    0a5a068 View commit details
    Browse the repository at this point in the history
  4. try harder to load the default mapping from the class load, and if we…

    … fail, just use the default value (which people really never change).
    kimchy committed Jul 30, 2012
    Copy the full SHA
    68c76e6 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2012

  1. Copy the full SHA
    41b3a45 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    bbc45fe View commit details
    Browse the repository at this point in the history
  3. expose the max direct memory allowed in jvm info, and guess better th…

    …en receive buffer size predictor size based on it
    kimchy committed Jul 31, 2012
    Copy the full SHA
    8dcee09 View commit details
    Browse the repository at this point in the history
  4. upgrade to latest testng, improve console output when running test, a…

    …dd more options as env vars when using maven
    kimchy committed Jul 31, 2012
    Copy the full SHA
    82cfe0e View commit details
    Browse the repository at this point in the history
  5. add travis ci config

    kimchy committed Jul 31, 2012
    Copy the full SHA
    ddf30ab View commit details
    Browse the repository at this point in the history
  6. update copyright

    kimchy committed Jul 31, 2012
    Copy the full SHA
    c8e930d View commit details
    Browse the repository at this point in the history
  7. fix test failure message...

    kimchy committed Jul 31, 2012
    Copy the full SHA
    0492d9b View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2012

  1. Copy the full SHA
    d13a780 View commit details
    Browse the repository at this point in the history
  2. rename Test to Tests, so it will be executed as part of the mvn tests…

    … as well, reformat a bit
    kimchy committed Aug 1, 2012
    Copy the full SHA
    e88dbaf View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2012

  1. fix test

    kimchy committed Aug 2, 2012
    Copy the full SHA
    7a0d7f5 View commit details
    Browse the repository at this point in the history
  2. better javadoc

    kimchy committed Aug 2, 2012
    Copy the full SHA
    1a33687 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e7d0217 View commit details
    Browse the repository at this point in the history
  4. add to the keep alive thread name the version number, so it will be s…

    …impler to know from stack traces the es version
    kimchy committed Aug 2, 2012
    Copy the full SHA
    e26a56e View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    8be5c72 View commit details
    Browse the repository at this point in the history
  6. expose snapshots parameter

    kimchy committed Aug 2, 2012
    Copy the full SHA
    de3fb50 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2012

  1. Copy the full SHA
    08ba05e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0e3c825 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ad392bb View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    3afeac5 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2012

  1. better percent calc for hot threads, including more details on top th…

    …reads (time out of interval)
    kimchy committed Aug 4, 2012
    Copy the full SHA
    ed2196f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2012

  1. remove rouge sout...

    kimchy committed Aug 6, 2012
    Copy the full SHA
    d2ac219 View commit details
    Browse the repository at this point in the history
  2. create a unique recovery id when recovering from a peer shard instead…

    … of using shard id
    
    this allows to handle better cases where we need to cancel an existing recovery
    kimchy committed Aug 6, 2012
    Copy the full SHA
    346fb9e View commit details
    Browse the repository at this point in the history
  3. Fixed top children query bug reported in issue elastic#2140

    Fixed type.
    Martijn van Groningen authored and kimchy committed Aug 6, 2012
    Copy the full SHA
    37e7a54 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2012

  1. - Fixed timezone parsing when input starts with '+'sign. Fixes issue e…

    Martijn van Groningen authored and kimchy committed Aug 7, 2012
    Copy the full SHA
    195e586 View commit details
    Browse the repository at this point in the history
  2. Allow custom type_table to be passed to Lucene's WordDelimiterFilter(…

    …) constructor, instead of just the default
    jacobevans authored and kimchy committed Aug 7, 2012
    Copy the full SHA
    3925c0b View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2012

  1. Copy the full SHA
    055f080 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    640c0c2 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9d55858 View commit details
    Browse the repository at this point in the history
  4. Upgrade to guava 13.0

    kimchy committed Aug 8, 2012
    Copy the full SHA
    53d29e5 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2012

  1. - Added support for multi match query.

    martijnvg authored and kimchy committed Aug 9, 2012
    Copy the full SHA
    e43dd46 View commit details
    Browse the repository at this point in the history
  2. handle null query returning from query parsers properly

    now that we support "null" queries, for example, when parsing a query and its lenient, make sure to handle it where applicable
    kimchy committed Aug 9, 2012
    Copy the full SHA
    a1ab48c View commit details
    Browse the repository at this point in the history
  3. Update API: Update through an alias with routing configured on it fai…

    …l to use the routing, closes elastic#2155.
    kimchy committed Aug 9, 2012
    Copy the full SHA
    fedd196 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    b979dfa View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2012

  1. Copy the full SHA
    bdea0e2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ad0e916 View commit details
    Browse the repository at this point in the history
  3. Added GeoShape indexing and querying support

    Chris Male authored and kimchy committed Aug 13, 2012
    Copy the full SHA
    bea4346 View commit details
    Browse the repository at this point in the history
  4. fix geo shape tests

    kimchy committed Aug 13, 2012
    Copy the full SHA
    eda3da2 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    980fc6c View commit details
    Browse the repository at this point in the history
  6. Remove / deprecated omit_term_freq_and_positions in favor of IndexOpt…

    …ions exposed via mapping API
    s1monw authored and kimchy committed Aug 13, 2012
    Copy the full SHA
    53f65d8 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    5715588 View commit details
    Browse the repository at this point in the history
  8. more improvements for handling of large / many mappings by batching t…

    …he removal of mappings
    kimchy committed Aug 13, 2012
    Copy the full SHA
    70f212a View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    ab49a8c View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2012

  1. Copy the full SHA
    f317399 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a4acb9a View commit details
    Browse the repository at this point in the history
  3. use term query instead of a specialized SpanTermQuery on _all field i…

    …f positions are omitted
    s1monw authored and kimchy committed Aug 16, 2012
    Copy the full SHA
    b0b5775 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    341c53b View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2012

  1. Copy the full SHA
    bc28873 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2012

  1. Copy the full SHA
    e3a9271 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    08ecd9d View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2012

  1. Copy the full SHA
    79cb0ea View commit details
    Browse the repository at this point in the history
  2. change mappersAdded flag to mappingsModified to better reflect any po…

    …ssible change in mappings, not just additions
    kimchy committed Aug 20, 2012
    Copy the full SHA
    e1fe893 View commit details
    Browse the repository at this point in the history
  3. All Field: Automatically detect when field level boosting is used, an…

    …d optimize when its not, closes elastic#2189.
    kimchy committed Aug 20, 2012
    Copy the full SHA
    9aae62b View commit details
    Browse the repository at this point in the history
  4. Support YAML as content type

    kimchy committed Aug 20, 2012
    Copy the full SHA
    dbe2f53 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    a80639a View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2012

  1. Copy the full SHA
    a8656c8 View commit details
    Browse the repository at this point in the history
  2. - Added explain api. elastic#2184

    martijnvg authored and kimchy committed Aug 21, 2012
    Copy the full SHA
    8365e7b View commit details
    Browse the repository at this point in the history
  3. small renames here and there

    kimchy committed Aug 21, 2012
    Copy the full SHA
    b5d9d3d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ef6ad6c View commit details
    Browse the repository at this point in the history
  5. reformat

    kimchy committed Aug 21, 2012
    Copy the full SHA
    f03ff29 View commit details
    Browse the repository at this point in the history
  6. small optimization for global facet with facet filter, by removing th…

    …e double check on the facet filter
    kimchy committed Aug 21, 2012
    Copy the full SHA
    c33ca29 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    2dd8267 View commit details
    Browse the repository at this point in the history
  8. Enabled the option of configuring plugin types in the settings. This …

    …will also help in tests when testing plugin related functionality
    uboness authored and kimchy committed Aug 21, 2012
    Copy the full SHA
    3fdb9f0 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2012

  1. no need to optimize on the bool query parser, we already do that in t…

    …he optimizeQuery method
    kimchy committed Aug 22, 2012
    Copy the full SHA
    177568a View commit details
    Browse the repository at this point in the history
  2. MinimumNumberShouldMatch inconcistency, closes elastic#2194

    Streamline the use of minimum should match to all relevant queries to accept `minimum_should_match`, and allow all relevant queries to accept the advanced "string" based config
    kimchy committed Aug 22, 2012
    Copy the full SHA
    14c11a9 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    377914b View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    37b33cf View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2012

  1. Reduce index.shard.recovery.concurrent_streams from 5 to 3 to reduce …

    …the load when doing recovery, closes elastic#2199.
    
    the index.shard.recovery.concurrent_streams controls how many streams are opened from a recovery source to a recovery target to transfer index files. Reduce it from 5 to 3 to reduce the load when doing recovery (for example, due to relocation).
    
    Note, recent changes in network buffering will mean that recovery will progress considerably faster, so this change will not affect recovery times.
    kimchy committed Aug 23, 2012
    Copy the full SHA
    1f3b0d4 View commit details
    Browse the repository at this point in the history
  2. add 0.19.10

    kimchy committed Aug 23, 2012
    Copy the full SHA
    bb609f6 View commit details
    Browse the repository at this point in the history
  3. fix wrong check on close

    kimchy committed Aug 23, 2012
    Copy the full SHA
    ba98b04 View commit details
    Browse the repository at this point in the history
  4. Bulk UDP, closes elastic#2201

    A Bulk UDP service is a service listening over UDP for bulk format requests. The idea is to provide a low latency UDP service that allows to easily index data that is not of critical nature.
    
    The Bulk UDP service is disabled by default, but can be enabled by setting `bulk.udp.enabled` to `true`.
    
    The bulk UDP service performs intenral bulk aggregation of the data and then flushes it based on several parametres:
    
    * `bulk.udp.bulk_actions`: The number of actions to flush a bulk after, defaults to `1000`.
    * `bulk.udp.bulk_size`: The size of the current bulk request to flush the request once exceeded, defaults to `5mb`.
    * `bulk.udp.flush_interval`: An interval after which the current request is flushed, regarldess of the above limits. Defaults to `5s`.
    * `bulk.udp.concurrent_requests`: The number on max in flight bulk requests allowed. Defaults to `4`.
    
    The network settings allowed are:
    
    * `bulk.udp.host`: The host to bind to, defualts to `network.host` which defaults to any.
    * `bulk.udp.port`: The port to use, defaults to `9700-9800`.
    
    Here is an example of how it can be used:
    
        > cat bulk.txt
        { "index" : { "_index" : "test", "_type" : "type1" } }
        { "field1" : "value1" }
        { "index" : { "_index" : "test", "_type" : "type1" } }
        { "field1" : "value1" }
    
        > cat bulk.txt | nc -w 0 -u localhost 9700
    kimchy committed Aug 23, 2012
    Copy the full SHA
    072fcaa View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    333293b View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2012

  1. Copy the full SHA
    36ff6c9 View commit details
    Browse the repository at this point in the history
  2. Local node master listener

    * Fixed an issue where dynamic update to minimum_master_nodes settings would not take immediate effect
    * Added LocalNodeMasterListener support to the ClusterService. Enables listening to when the local node becomes/stopped being a master
    uboness authored and kimchy committed Aug 24, 2012
    Copy the full SHA
    b4b33bb View commit details
    Browse the repository at this point in the history
  3. Fixed issue elastic#2197

    martijnvg authored and kimchy committed Aug 24, 2012
    Copy the full SHA
    bbe735f View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    dfa67bf View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2012

  1. Copy the full SHA
    da61dde View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2012

  1. Copy the full SHA
    1d4aee6 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    dea2de3 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2012

  1. Copy the full SHA
    888b7cc View commit details
    Browse the repository at this point in the history
  2. Added a global ignore_malformed index setting. elastic#2220 Also exte…

    …nded the ignore_malformed support to TTL, Ip and timestamp field types.
    martijnvg authored and kimchy committed Aug 31, 2012
    Copy the full SHA
    cd0e122 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9b29950 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e66bd43 View commit details
    Browse the repository at this point in the history
  5. move spatial4j and jts to be optional dependencies

    allowing data and client nodes to work without them, disabling shapes if needed
    kimchy committed Aug 31, 2012
    Copy the full SHA
    6c3847b View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2012

  1. use java to when no JAVA_HOME defined

    remove using "which java", which will give a better error message when java is not available
    kimchy committed Sep 1, 2012
    Copy the full SHA
    c834bca View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2012

  1. Update Settings API: Allow body request to be wrapped with settings

    … element to conform with other APIs, closes elastic#2227.
    kimchy committed Sep 2, 2012
    Copy the full SHA
    edfbfc1 View commit details
    Browse the repository at this point in the history
  2. upgrade to guava 13.0.1

    kimchy committed Sep 2, 2012
    Copy the full SHA
    8b499dd View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b055b5a View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2012

  1. Shard Allocation: index.routing.allocation.... settings do not "rem…

    …ove" the setting on empty string, closes elastic#2229.
    kimchy committed Sep 3, 2012
    Copy the full SHA
    a42159f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    82b36e5 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    0de8c06 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    92dfb2b View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2012

  1. Copy the full SHA
    26feea8 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2012

  1. Copy the full SHA
    24ce2ef View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    33e7d76 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2012

  1. Upgrade to LZF 0.9.6

    kimchy committed Sep 6, 2012
    Copy the full SHA
    162dfb7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f2db8ea View commit details
    Browse the repository at this point in the history
  3. Added proper headers for cross-origin resource sharing (CORS) with Ajax

    Previously, when responding to Ajax requests, elasticsearch did not send proper headers for
    cross-origin resource sharing (CORS) -- see issues elastic#828, elastic#2186.
    
    With this commit, Ajax requests should be working. Example:
    
        jQuery.ajax({
          url: "http://localhost:9200/_search",
          type: "POST",
          contentType: 'application/json; charset=UTF-8',
          success: function(data) { console.log(data) }
        });
    
    See:
    
    * http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/
    * http://www.w3.org/TR/cors/#access-control-allow-headers-response-header
    
    Closes elastic#2186, fixes elastic#828
    karmi authored and kimchy committed Sep 6, 2012
    Copy the full SHA
    f659cad View commit details
    Browse the repository at this point in the history
  4. allow to configure cors on http

    Allow to configure cors on http, if its enabled or not, and what it should output
    kimchy committed Sep 6, 2012
    Copy the full SHA
    b26fd60 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    8038616 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2012

  1. upgrade to Netty 3.5.7.Final

    kimchy committed Sep 7, 2012
    Copy the full SHA
    dd97075 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fbd352b View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2012

  1. Copy the full SHA
    b6a9bd9 View commit details
    Browse the repository at this point in the history
  2. internal custom allocation commands

    add support for internal custom allocation commands, including allocation, move, and cancel (shard).
    also, fix elastic#2242, which causes the cluster state to be in inconsistent state when a shard being the source of relocation is failed
    kimchy committed Sep 12, 2012
    Copy the full SHA
    e530f03 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2012

  1. Added has_parent filter (elastic#2243)

    The `has_parent` filter accepts a query and a parent type. The query is executed in the parent document space, which is specified by the parent type. This filter return child documents which associated parents have matched. For the rest `has_parent` filter has the same options and works in the same manner as the `has_child` filter.
    
    This is an experimental filter.
    
    Filter example
    ###################
    ```
    {
        "has_parent" : {
            "parent_type" : "blog"
            "query" : {
                "term" : {
                    "tag" : "something"
                }
            }
        }
    }
    ```
    The `parent_type` field name can also be abbreviated to `type`.
    
    Memory considerations
    ###############
    With the current implementation, all _id values are loaded to memory (heap) in order to support fast lookups, so make sure there is enough mem for it.
    
    This issue originates from issue elastic#792
    martijnvg authored and kimchy committed Sep 13, 2012
    Copy the full SHA
    2bd9b3a View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2012

  1. Copy the full SHA
    ef9974c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4dddeeb View commit details
    Browse the repository at this point in the history
  3. Improve has_child filter / query performance (elastic#2251) Added a…

    … new has_child filter implementation, that works _uid based instead of bitset based. This implementation is about ~2 till ~6 times (depending on the query) faster than the already existing bitset based implementation.
    martijnvg authored and kimchy committed Sep 14, 2012
    Copy the full SHA
    3cd54fc View commit details
    Browse the repository at this point in the history
  4. fix cleanup of of has child/parent

    check if the collected uids were processed before trying to push them back to the cache
    kimchy committed Sep 14, 2012
    Copy the full SHA
    7bf233a View commit details
    Browse the repository at this point in the history
  5. Added has_parent query The has_parent query works the same as the `…

    …has_parent` filter, by automatically wrapping the filter with a constant_score. It has the same syntax as the `has_parent` filter. Closes elastic#2254
    martijnvg committed Sep 14, 2012
    Copy the full SHA
    cfe7654 View commit details
    Browse the repository at this point in the history
  6. Clean up has_parent query code Renamed some exception messages and re…

    …moved method from builder
    martijnvg committed Sep 14, 2012
    Copy the full SHA
    9c04e6a View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2012

  1. upgrade to log4j 1.2.17

    kimchy committed Sep 15, 2012
    Copy the full SHA
    19fdd46 View commit details
    Browse the repository at this point in the history
  2. The reroute command allows to explcitiyly execute a cluster reroute a…

    …llocation command including specific commands. For example, a shard can be moved from one node to another explicitly, an allocation can be canceled, or an unassigned shard can be explicitly allocated on a specific node.
    
    Here is a short example of how a simple reroute API call:
    
        curl -XPOST 'localhost:9200/_cluster/reroute' -d '{
            "commands" : [
                {"move" : {"index" : "test", "shard" : 0, "from_node" : "node1", "to_node" : "node2"}},
                {"allocate" : {"index" : "test", "shard" : 1, "node" : "node3"}}
            ]
        }'
    
    An importnat aspect to remember is the fact that once when an allocation occurs, the cluster will aim at rebalancing its state back to an even state. For example, if the allocation includes moving a shard from `node1` to `node2`, in an "even" state, then another shard will be moved from `node2` to `node1` to even things out.
    
    The cluster can be set to disable allocations, which means that only the explicitl allocations will be performed. Obviously, only once all commands has been applied, the cluster will aim to be rebalance its state.
    
    Anohter option is to run the commands in "dry_run" (as a URI flag, or in the request body). This will cause the commands to apply to the current cluster state, and reutrn the resulting cluster after the comamnds (and rebalancing) has been applied.
    
    The commands supporterd are:
    
    * `move`: Move a started shard from one node to anotehr node. Accepts `index` and `shard` for index name and shard number, `from_node` for the node to move the shard "from", and `to_node` for the node to move the shard to.
    * `cancel`: Cancel allocation of a shard (or recovery). Accepts `index` and `shard` for index name and shar number, and `node` for the node to cancel the shard allocation on.
    * `allocate`: Allocate an unassigned shard to a node. Accepts the `index` and `shard` for index name and shard number, and `node` to allocate the shard to. It also accepts `allow_primary` flag to explciitly specify that it is allowed to explciitly allocate a primary shard (might result in data loss).
    
    closes elastic#2256
    kimchy committed Sep 15, 2012
    Copy the full SHA
    afca5ef View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2012

  1. Fixed wrong jdoc

    martijnvg committed Sep 17, 2012
    Copy the full SHA
    42864f7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    90e0a70 View commit details
    Browse the repository at this point in the history
  3. Disable allocation: New indices allocation not to be disabled by default

    When setting cluster.routing.allocation.disable_allocation, it causes new indices primary shards to not be allocated. By default, new indices created should allow to, at the very least, allocate primary shards so they become operations. A new setting, cluster.routing.allocation.disable_new_allocation, allows to also disable "new" allocations.
    closes elastic#2258.
    kimchy committed Sep 17, 2012
    Copy the full SHA
    7924115 View commit details
    Browse the repository at this point in the history
  4. upgrade to testng 6.8

    kimchy committed Sep 17, 2012
    Copy the full SHA
    2275b82 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2012

  1. Added better error handling for has_child, has_parent and top_children.

    If has_parent, has_child or top_children are executed incorrectly then a better exception is thrown. This gives a better error description when one of these queries or filters is being used in count api.
    
    Closes elastic#2261
    martijnvg committed Sep 18, 2012
    Copy the full SHA
    d5aa35e View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2012

  1. Copy the full SHA
    86e88a8 View commit details
    Browse the repository at this point in the history
  2. Added id cache size to nodes stats api

    Also added bloom cache size the node *rest* api
    Closes elastic#2264
    martijnvg committed Sep 19, 2012
    Copy the full SHA
    afc99ac View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7f6f001 View commit details
    Browse the repository at this point in the history
  4. don't serialize ignore_unmapped to mapping on default value

    fix ignore_unmapped being serialized as part of the mappings even though it has a default value and not explicitly set
    kimchy committed Sep 19, 2012
    Copy the full SHA
    4e19de1 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2012

  1. Copy the full SHA
    f8e1291 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    83a39bd View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    0fadbf2 View commit details
    Browse the repository at this point in the history
  4. Upgraded to Spatial4j 0.3

    Chris Male authored and kimchy committed Sep 20, 2012
    Copy the full SHA
    6fc0b83 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2012

  1. Added types exists api

    The types exists api checks whether one or more types exists in one or more indices.
    
    ## Example usage
    curl -XHEAD 'localhost:9200/twitter/tweet'
    
    ## Options
    * `index` - One or more indices. Either specified as query string parameter or in the uri path.
    * `type` - One or more types. Either specified as query string parameter or in the uri path.
    * `ignore_missing` -  Determines what type of indices to exclude from a request. The option can have the following values: `none` or `missing`.
    
    Closes elastic#2273
    martijnvg committed Sep 21, 2012
    Copy the full SHA
    8080fdc View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4f5e62e View commit details
    Browse the repository at this point in the history
  3. Norms field is ignored when doing a match_all query

    we shouldn't optimize a match all query if it has norms associated with it, fixes elastic#2277
    kimchy committed Sep 21, 2012
    Copy the full SHA
    a3af3d2 View commit details
    Browse the repository at this point in the history
  4. Transport: Add header token

    This allows to more easily identify when illegal content is being sent to the transport port
    closes elastic#2280
    kimchy committed Sep 21, 2012
    Copy the full SHA
    cc7eb26 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2012

  1. add node version to each request/response transport message

    a version associated with each request, and having it associated with the stream when (de)serializing, can allow us in the future to better support cross version communication
    kimchy committed Sep 22, 2012
    Copy the full SHA
    aa435a2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d5e11fd View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    f73d684 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    df0ff17 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2012

  1. Copy the full SHA
    05e0b4d View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6e66f45 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2012

  1. Fixed score explain is for custom_filters_score query.

     Only the explain of the filter was included. This fix adds an explain for the inner query and wraps it in a top-level explanation.
    martijnvg committed Sep 24, 2012
    Copy the full SHA
    81a6940 View commit details
    Browse the repository at this point in the history
  2. Bulk Delete item when broadcast to all shard (lack of routing) might …

    …not be applied correctly
    
    closes elastic#2285.
    kimchy committed Sep 24, 2012
    Copy the full SHA
    15fbbd4 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2012

  1. introduce TransportRequest (with optional headers)

    introduce a new class, TransportRequest, which includes headers. This class can be used when sending requests over the transport layer, and ActionRequest also extends it now.
    This is the first phase of the refactoring part in the transport layer and action layer to allow for simpler implementations of those as well as simpler "filtering" capabilities in the future
    kimchy committed Sep 26, 2012
    Copy the full SHA
    cfe7504 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1545327 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2012

  1. introduce TransportResponse

    a class that needs to be used when sending a response over the transport layer, with an option to have headers
    kimchy committed Sep 27, 2012
    Copy the full SHA
    613c70c View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2012

  1. upgrade to mvel 2.1.3

    kimchy committed Sep 28, 2012
    Copy the full SHA
    81775cc View commit details
    Browse the repository at this point in the history
  2. make sure to pass the updated settings from the plugins to the module…

    …s with transport client
    kimchy committed Sep 28, 2012
    Copy the full SHA
    d8a3096 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    f9fc9bd View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    2df6b4b View commit details
    Browse the repository at this point in the history
  5. Fixed NPE when using has_parent or has_child filter/query.

    The NPE occurred when for an arbitrary segment no parent documents exist for a has_parent filter/query and no child documents exist for a has_child filter/query.
    
    Closes elastic#2297
    martijnvg committed Sep 28, 2012
    Copy the full SHA
    51e69e1 View commit details
    Browse the repository at this point in the history
  6. return null instead of empty doc set

    null can more easily be optimized in other filters
    kimchy committed Sep 28, 2012
    Copy the full SHA
    7d6c567 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    5bf5666 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2012

  1. Copy the full SHA
    9dd8e1e View commit details
    Browse the repository at this point in the history
  2. move cleaning filter cache on closed readers to separate thread

    improve cleaning the global weighted cache when a reader closes, move it to a separate thread, so iterating over the cache entries will nto happen on each segment closed, but instead be "bulked"
    kimchy committed Sep 29, 2012
    Copy the full SHA
    05653cb View commit details
    Browse the repository at this point in the history
  3. Upgrade to netty 3.5.8

    closes elastic#2299.
    kimchy committed Sep 29, 2012
    Copy the full SHA
    c56cc6e View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2012

  1. Copy the full SHA
    481c66f View commit details
    Browse the repository at this point in the history