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

cleanup DocumentBuilder class/javadoc

    XMLWordPrintableJSON

Details

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

    Description

      Looking at org.apache.solr.update.DocumentBuilder, it seems like the javadocs are out of date for how thigns are used.

      It looks like the only function that is actually used is:

      static Document toDocument( SolrInputDocument doc, IndexSchema schema )
      

      The static/non-thread safe version is never used

      The javadoc comment:

      TODO: /!\ NOTE /!\ This semantics of this function are still in flux. 
      

      seems out of date since this is the function that is actually used!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ryantxu Ryan McKinley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: