Permalink
Commits on Jan 31, 2011
  1. 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…

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

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

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

    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            {}
    Adriano Ferreira committed with kimchy Jan 6, 2011
  3. Make RestUtils.decodeQueryString() more robust in edge cases

    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.
    Adriano Ferreira committed with kimchy Jan 6, 2011
  4. Minor changes to RestUtils.decodeQueryString() tests

    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
    Adriano Ferreira committed with kimchy Jan 6, 2011
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 …

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

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

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

    …elasticsearch, allow to provide settings prefix for analyzer provider
    kimchy committed Dec 29, 2010
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…

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

    kimchy committed Dec 27, 2010