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

    committed Nov 3, 2011
  2. Standardizes whitespace

    committed Nov 3, 2011
Commits on Oct 31, 2011
  1. Merge branch '108_memory_leak'

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

    …aks when classes are reloaded (e.g., Rails development mode)
    committed Oct 30, 2011
  2. Adds 1.9.3 to the build matrix

    committed Oct 30, 2011
  3. [Finishes #42] Adds :offset option to paginate method

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

    committed Oct 16, 2011
Commits on Oct 12, 2011
  1. Merge pull request #100 from yipdw/postbody-parameters

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

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

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

    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).
    yipdw committed Oct 10, 2011
  3. CI runs against Rails 3.1.1

    committed Oct 10, 2011
  4. Build status links to travis

    committed Oct 10, 2011
  5. Adds build status to README

    committed Oct 10, 2011
Commits on Oct 9, 2011
Commits on Oct 4, 2011
  1. Merge pull request #45 from alindeman/selective-indexing

    Add ability to specify which instances to index
    committed Oct 4, 2011