Permalink
Commits on Nov 6, 2011
Commits on Nov 3, 2011
  1. Bumps version to 1.3.0.rc5

    alindeman committed Nov 3, 2011
  2. Standardizes whitespace

    alindeman committed Nov 3, 2011
Commits on Oct 31, 2011
Commits on Oct 30, 2011
  1. [Fixes #108] Only stores one class of a given name to avoid memory le…

    alindeman committed Oct 30, 2011
    …aks when classes are reloaded (e.g., Rails development mode)
  2. [Finishes #42] Adds :offset option to paginate method

    benjamin fleischer authored and alindeman committed Oct 30, 2011
Commits on Oct 17, 2011
Commits on Oct 16, 2011
  1. Adds Travis notifications

    alindeman committed Oct 16, 2011
  2. Adds bind_address configuration option

    redox authored and alindeman committed Oct 15, 2011
Commits on Oct 12, 2011
  1. Merge pull request #100 from yipdw/postbody-parameters

    nz committed Oct 12, 2011
    Send search parameters in the body, not the query string.
  2. Merge pull request #103 from alindeman/moving_sunspot_installer

    nz committed Oct 12, 2011
    Moves Sunspot::Installer to sunspot_solr gem
Commits on Oct 10, 2011
  1. Merge pull request #102 from sunspot/nz-move-rake-solr-tasks-to-sunsp…

    alindeman committed Oct 10, 2011
    …ot-solr
    
    Move the sunspot:solr rake tasks to the sunspot_solr gem.
  2. Send parameters in the body, not the query string.

    yipdw committed Oct 10, 2011
    The version of Jetty bundled with Sunspot (as of this commit) aggregates
    query parameters and POST data when it presents parameters to a webapp.
    
    Winstone 0.9.10, which otherwise runs Solr well, doesn't do this.
    Sending POST /select to Winstone yields a response with a 500 status
    code and report errors like this in the log:
    
        INFO: [] webapp=/solr path=/select params={} status=500 QTime=1
        Oct 10, 2011 12:31:00 AM org.apache.solr.common.SolrException log
        SEVERE: java.lang.NullPointerException
          at java.io.StringReader.<init>(StringReader.java:33)
          at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:197)
          at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:78)
          at org.apache.solr.search.QParser.getQuery(QParser.java:131)
          at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
          at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
          at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
          at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
          at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
          at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
          at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
          at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
          at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
          at java.lang.Thread.run(Thread.java:680)
    
    which looks like Solr is receiving POST /select with no parameters.
    
    To be fair, I think Winstone is actually violating Servlet API v2.4 in
    this case.  Section SRV.4.1 of the API specification states "Data from
    the query string and the post body are aggregated into the request
    parameter set", which doesn't seem to be happening here.  However, this
    fix is not that large, and even saves on some code by saving us the
    hassle of having to set the body's content type (RSolr 1.0.2 will do
    that for us when given a post body).
  3. CI runs against Rails 3.1.1

    alindeman committed Oct 10, 2011
  4. Adds build status to README

    alindeman committed Oct 10, 2011
Commits on Oct 9, 2011