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

Erick Erickson resolved SOLR-1114.
----------------------------------

    Resolution: Won't Fix

SPRING_CLEANING_2013. We can reopen if there's interest.
                
> Re-organize examples directory keeping core and contribs in mind
> ----------------------------------------------------------------
>
>                 Key: SOLR-1114
>                 URL: https://issues.apache.org/jira/browse/SOLR-1114
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Shalin Shekhar Mangar
>
> Re-organize examples directory keeping core and contribs in mind.
> From Grant on solr-dev:
> {quote}
> The templates directory would contain the configurations (i.e. schema.xml and 
> solrconfig.xml) and any sample docs (but not the libraries) for:
>        tutorial - The current tutorial example
>        dih - The DIH example
>        extraction - Solr Cell example
>        geo - geo spatial example (once 773 is committed)
>        clustering - once SOLR-769 is committed
>        simple - A barebones schema and config (mainly used for bootstrapping 
> a new project for experienced users)
>        exploratory - Basically, the same as simple, but the schema defines a 
> single dynamic field -  Think of Hoss's Solr Out of the Box talk from 
> ApacheCon whereby you want to quickly explore a new data set without having 
> to define a schema.
>        [other] -
> Note, the templates directory could also live under each contrib, but it 
> isn't necessarily a 1-1 thing (e.g. simple and exploratory templates are not 
> contrib-specific).
> Then, typing "ant example" would copy the necessary tutorial stuff to the 
> example directory (which still contains the Jetty stuff) but would not have 
> to recurse into any of the contribs.
> Typing "ant example -Dtype=clustering"  would copy the clustering 
> requirements, plus go to contrib/clustering (or whatever) and get the 
> appropriate material such that the example directory.  Similarly for any of 
> the other "templates"
> Additionally, you could also define -DoutputDir such that it would take and 
> copy the whole example directory (including the appropriate type) to some 
> output dir.  This would allow one to quickly bootstrap a Solr project without 
> having to do a lot of schema editing.
> {quote}
> http://markmail.org/thread/w6da7pwhcsdn43n3

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to