Permalink
Commits on Jan 31, 2011
  1. update to 0.14.5-SNAPSHOT

    kimchy committed Jan 31, 2011
  2. release 0.14.4

    kimchy committed Jan 31, 2011
Commits on Jan 28, 2011
Commits on Jan 25, 2011
Commits on Jan 23, 2011
  1. update to 0.14.4 SNAPSHOT

    kimchy committed Jan 23, 2011
Commits on Jan 17, 2011
Commits on Jan 10, 2011
  1. limit the number of addresses to try and connect to when doing unicas…

    kimchy committed Jan 10, 2011
    …t discovery with just the host and not the port to 5
Commits on Jan 8, 2011
  1. Highlighting: Sometimes highlighting returns empty fragments even tho…

    kimchy committed Jan 8, 2011
    …ught there should be, closes #613.
Commits on Jan 7, 2011
  1. build on aferreira improvements to handle empty parameters with no =,…

    kimchy committed Jan 7, 2011
    … and improve component decoding logic
  2. Adding test for edge cases of RestUtils.decodeQueryString()

    Adriano Ferreira committed with kimchy Jan 6, 2011
    When writing tests for the fix of decodeQueryString() to
    handle gracefully edge cases like:
    
        &a
        &a&b
    
    it arises the question of what behavior is desirable
    for these pathological cases (vs the regular p=v pairs).
    This change just skips them which is consonant
    to the preexisting code.
    
    To be thorough, we add tests for a bunch of edge cases, like:
    
        QUERY           PARSED PARAMS
    
        ?               {}
        ?&              {}
        ?=              { "": "" }
        ?a              {}
        ?p=v&a          { "p": "v" }
        ?p=v&a&p1=v1    { "p": "v", "p1": "v1" }
        ?a&b            {}
  3. Make RestUtils.decodeQueryString() more robust in edge cases

    Adriano Ferreira committed with kimchy Jan 6, 2011
    The code of decodeQueryString() had some trouble with weird URLs:
    
    (1) an input like "uri?param&p=v" causes an exception to be thrown
    (2) an input like "uri?param1&param2" causes an infinite loop
    
    This could be verified against an ES server with requests like
    
        curl -XGET localhost:9200/test/_analyze?t&text=this+is+a+test
        # the exception stack trace shows up in logs
    
        curl -XGET localhost:9200/test/_analyze?t1&t2&text=this+is+a+test
        # never returns, never ends
    
    This change fixes these issues.
  4. Minor changes to RestUtils.decodeQueryString() tests

    Adriano Ferreira committed with kimchy Jan 6, 2011
    Testing
    
        RestUtils.decodeQueryString("something", "something".indexOf('?') + 1, params);
    
    is not really checking decoding of an empty query.
    Instead, it is testing decoding of "something"
    as a query (because "something.index('?')+1" evaluates to 0).
    The parameter map is left empty because
    "malformed" pairs like "something" are currently skipped.
    
    Instead, this change modify this test to check the edge cases:
    
    + fromIndex >= queryString.length()
    + fromIndex < 0
Commits on Jan 6, 2011
  1. parse query with offset

    kimchy committed Jan 6, 2011
Commits on Jan 5, 2011
  1. update 0.14.3-SNAPSHOT

    kimchy committed Jan 5, 2011
  2. update 0.14.2 version

    kimchy committed Jan 5, 2011
  3. Add to node stats the number of times field cache was evicted due to …

    kimchy committed Jan 5, 2011
    …memory constraints, closes #603.
  4. try to be more predictable when doing pagination (still can return du…

    kimchy committed Jan 5, 2011
    …plicates when going to different shards) by sorting on the shards results based on the shard id first
  5. Highlighting: The result of highlighting for a hit can contain data f…

    kimchy committed Jan 5, 2011
    …rom another document, closes #600.
  6. make settings prefix simpler and not bail when not prefixed with org.…

    kimchy committed Dec 29, 2010
    …elasticsearch, allow to provide settings prefix for analyzer provider
Commits on Dec 29, 2010
  1. update to 0.14.2 snapshot

    kimchy committed Dec 29, 2010
  2. update to release 0.14.1

    kimchy committed Dec 29, 2010
  3. update version to 0.14.1-SNAPSHOT

    kimchy committed Dec 29, 2010
  4. await closing sockets on shutdown

    kimchy committed Dec 29, 2010
  5. REST Create Index: Not taking JSON index settings into account unless…

    kimchy committed Dec 29, 2010
    … wrapped in settings.
Commits on Dec 27, 2010
  1. release 0.14

    kimchy committed Dec 27, 2010