Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13277

A more efficient javabin response writer without creating SolrDocument objects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      It's possible to to write a response out directly , without creating the SolrDocument Objects if there are no transformers. 
      So, we may use a new flag to use this mode . When enabled ,

      • it serializes docs out to the stream without creating any Objects
      • it uses a serialized format for document cache

      Essentially, the cost of writing response out will be similar to the /export handler. Traditional transformers may not work in this mode.

      A request would look as follows . The extra flag fastmode=true will switch the writing to this mode.

      http://localhost:8983/solr/gettingstarted/select?q=*:*&wt=javabin&fastmode=true

      Attachments

        Activity

          People

            Unassigned Unassigned
            noble.paul Noble Paul
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: