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

Update obsolete schema.xml in example-DIH

    XMLWordPrintableJSON

Details

    Description

      The version of example/example-DIH/solr/db/conf/schema.xml is 1.1 (too old) where example/solr/conf/schema.xml is 1.4. I believe that it is important to keep all schema.xml up to date for newbies.

      The example/example-DIH/solr/db/conf/schema.xml will be referred as primary hints for newbies because most of them may want to try import some data from their preexisting DB or something first, referring [1]. Even DataImportHandler tutorial itself can be done without problem, obsolete schema.xml may confusing for them.

      Typical difference of new and old schema.xml is existence of explanation of *TrieField. Because old one's default types are solr.IntField or solr.DateField and no mention of this. Consequently, when they try range queries or boosting query based on old schema.xml, they may face unintended slow response or error.

      [1] http://wiki.apache.org/solr/DataImportHandler#Full_Import_Example

      Attachments

        1. SOLR-3149.patch
          61 kB
          James Dyer

        Activity

          People

            Unassigned Unassigned
            yanbe Yusuke Yanbe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified