You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2009/04/14 17:35:16 UTC
[jira] Created: (SOLR-1114) Re-organize examples directory keeping
core and contribs in mind
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.
-
You can reply to this email to add a comment to the issue online.