lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3149) Update obsolete schema.xml in example-DIH
Date Tue, 28 Feb 2012 18:55:46 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Dyer updated SOLR-3149:
-----------------------------

    Attachment: SOLR-3149.patch

Yusuke,

Thanks for pointing this out.  Would you mind applying this patch and trying out all of the
examples to be sure they still work?  (I was having some trouble getting them all to run in
my enviornment).

I've both updated the schemas and pared them down quite a bit to (mostly) only contain needed
features.  There is also a new note to look for the main example config for more options.

If this seems good and all the examples still run ok I'll commit.
                
> Update obsolete schema.xml in example-DIH
> -----------------------------------------
>
>                 Key: SOLR-3149
>                 URL: https://issues.apache.org/jira/browse/SOLR-3149
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>    Affects Versions: 3.5, 4.0
>            Reporter: Yusuke Yanbe
>            Priority: Minor
>              Labels: dataimportHandler, documentaion, newbie
>         Attachments: SOLR-3149.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message