Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

    authored
  2. Standardizes whitespace

    authored
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…

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

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

    authored
  2. @redox

    Adds bind_address configuration option

    redox authored committed
Commits on Oct 12, 2011
  1. @nz
  2. @nz

    Merge pull request #100 from yipdw/postbody-parameters

    nz authored
    Send search parameters in the body, not the query string.
  3. @nz

    Merge pull request #103 from alindeman/moving_sunspot_installer

    nz authored
    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…

    authored
    …ot-solr
    
    Move the sunspot:solr rake tasks to the sunspot_solr gem.
  2. @nz
  3. @nz
  4. @yipdw

    Send parameters in the body, not the query string.

    yipdw authored
    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).
  5. CI runs against Rails 3.1.1

    authored
  6. Adds build status to README

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

    authored
    Add ability to specify which instances to index
Something went wrong with that request. Please try again.