Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Commits on Oct 6, 2013
  1. Consistency for http transport curl handles

    vierbergenlars committed Oct 6, 2013
  2. Fix bad filter field in Http Transport

    vierbergenlars committed Oct 6, 2013
  3. Refactor Transport\Http

    vierbergenlars committed Oct 6, 2013
  4. Factor out complex Lexer::tokenize() to separate functions

    vierbergenlars committed Oct 6, 2013
  5. Update docblocks

    vierbergenlars committed Oct 6, 2013
  6. CS Fixes

    vierbergenlars committed Oct 6, 2013
Commits on Oct 5, 2013
  1. Add bling-bling badges

    vierbergenlars committed Oct 5, 2013
  2. Merge branch 'forage-0.2-compat'

    vierbergenlars committed Oct 5, 2013
  3. Merge remote-tracking branch 'refs/remotes/origin/master'

    vierbergenlars committed Oct 5, 2013
  4. Handle case where no results are returned

    vierbergenlars committed Oct 5, 2013
    When 0 results are returned, Forage returns a string "no results"
    instead of a properly formatted JSON string. So json_decode() returns
    null, and that gets passed to SearchResult. SearchResult only accepts an
    array as input, and throws an E_RECOVERABLE_ERROR. Http Transport now
    intercepts this case, and outputs a properly formatted array containing
    no hits or facets, and set totalHits to 0.
    
    PHP error:
    Catchable fatal error: Argument 1 passed to
    vierbergenlars\Forage\SearchResult\SearchResult::__construct() must be
    an array, null given, called in
    /var/www/bay/vendor/vierbergenlars/forage-client/lib/vierbergenlars/Forage/SearchQuery/Query.php
    on line 174 and defined in
    /var/www/bay/vendor/vierbergenlars/forage-client/lib/vierbergenlars/Forage/SearchResult/SearchResult.php
    on line 42
    
    XDebug Trace:
    8	0.1450	21947952
    vierbergenlars\Forage\ODM\SearchQuery->execute( )
    ../SearchController.php:43
    9	0.1451	21947952
    vierbergenlars\Forage\SearchQuery\Query->execute( )
    ../SearchQuery.php:44
    10	0.1490	21999232
    vierbergenlars\Forage\SearchResult\SearchResult->__construct(
    $result_array = NULL )	../Query.php:174
  5. Handle case where no results are returned

    vierbergenlars committed Oct 5, 2013
    When 0 results are returned, Forage returns a string "no results"
    instead of a properly formatted JSON string. So json_decode() returns
    null, and that gets passed to SearchResult. SearchResult only accepts an
    array as input, and throws an E_RECOVERABLE_ERROR. Http Transport now
    intercepts this case, and outputs a properly formatted array containing
    no hits or facets, and set totalHits to 0.
    
    PHP error:
    Catchable fatal error: Argument 1 passed to
    vierbergenlars\Forage\SearchResult\SearchResult::__construct() must be
    an array, null given, called in
    /var/www/bay/vendor/vierbergenlars/forage-client/lib/vierbergenlars/Forage/SearchQuery/Query.php
    on line 174 and defined in
    /var/www/bay/vendor/vierbergenlars/forage-client/lib/vierbergenlars/Forage/SearchResult/SearchResult.php
    on line 42
    
    XDebug Trace:
    8	0.1450	21947952
    vierbergenlars\Forage\ODM\SearchQuery->execute( )
    ../SearchController.php:43
    9	0.1451	21947952
    vierbergenlars\Forage\SearchQuery\Query->execute( )
    ../SearchQuery.php:44
    10	0.1490	21999232
    vierbergenlars\Forage\SearchResult\SearchResult->__construct(
    $result_array = NULL )	../Query.php:174
Commits on Oct 3, 2013
  1. [BC Break] Fix compatiblity with forage@0.2.*

    vierbergenlars committed Oct 3, 2013
    A lot of stuff changed in 0.2.1
    
     * The id is no longer contained within the document. This is the main
        cause of BC Break.
     * Faceting on strings is no longer possible. Instead of returning an
        object with all single characters as keys, an empty object is returned.
Commits on Sep 22, 2013
  1. Migrate to simpletest/simpletest

    vierbergenlars committed Sep 22, 2013
Commits on Aug 27, 2013
  1. Fix checks for allowed tokens T_FIELD_VALUE & T_FIELD_WEIGHT

    vierbergenlars committed Aug 27, 2013
  2. Fix Symfony DI

    vierbergenlars committed Aug 27, 2013
  3. Merge branch 'symfony-bundle'

    vierbergenlars committed Aug 27, 2013
  4. Update README.md

    vierbergenlars committed Aug 27, 2013
  5. Rename Norch to Forage.

    vierbergenlars committed Aug 27, 2013
    The search server changed name. So this project follows.
Commits on Aug 11, 2013
  1. Check for end-of-string when using the escape character

    vierbergenlars committed Aug 11, 2013
  2. Only facet when there is more than one result to facet on.

    vierbergenlars committed Aug 11, 2013
    Creating a facet for something that has only one or no possibility just
    sounds stupid. And it's a PITA for templating.
  3. Urlencode search query url parameters

    vierbergenlars committed Aug 11, 2013
  4. Move hydrating of objects with Defer to DeferHydration class (from Se…

    vierbergenlars committed Aug 11, 2013
    …archHit)
    
    This allows for other means of hydrating an object than using Defer.
    Previous API from HydrationSettingsInterface is now provided by abstract
    class DeferHydration.
    Update SingleObjectHydration to extend DeferHydration
Commits on Aug 10, 2013
  1. Merge pull request #4 from vierbergenlars/query-parser

    vierbergenlars committed Aug 10, 2013
    Add QueryParser
  2. Add documentation for QueryParser

    vierbergenlars committed Aug 10, 2013
  3. Add lexer test

    vierbergenlars committed Aug 10, 2013
Older
You can’t perform that action at this time.