[
https://issues.apache.org/jira/browse/SOLR-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414814#comment-13414814
]
Jan Høydahl commented on SOLR-3619:
-----------------------------------
bq. Ruby and Drupal users generally just take all the example config and then
just plop a custom schema.xml in.
Exactly - a *custom* config, sometimes the whole "conf" folder including
synonyms etc. Note that for standard systems like Drupal, Wordpress, Escenic,
Magento etc, someone already did the work of creating a custom config. Even the
most simple of these systems saw a need to tweak, adding custom fieldTypes,
perhaps a default requesthandler etc.
bq. All these guys accessing Solr from wordpress plugins, from ruby and php and
perl, from Drupal - they should be able to run Solr with ease IMO.
Yes, and this is what this jira is about - easier to get started and understand
Solr's folder layout. And for this purpose I'm +1 renaming example to "server"
and moving the other examples out of Jetty's folder. But to be really general
purpose OOTB (work well for indexing blog posts, web pages or PDF docs), we
should continue work on SOLR-3439 and SOLR-3442 as well.
Just another comment about naming. If we stick with multiple independent
SOLR_HOMES in examples instead of one big multicore, I think
{{examples/solrhome}} should be named {{examples/solrhomes}} - else it is just
too intuitive to try try {{-Dsolr.solr.home=examples/solrhome}}. Perhaps better
to make each example more self contained including a README, a content folder
for example content and a solrhome folder with the config:
{noformat}
├── examples
│ ├── DIH
│ │ ├── content
│ │ ├── solrhome
│ │ └── README.TXT
│ └── multicore
│ ├── content
│ ├── solrhome
│ | ├── core1
│ | └── core2
│ └── README.TXT
{noformat}
That would be more intuitive to startup:
{noformat}
Instead of
java -Dsolr.solr.home=../examples/solrhome/multicore -jar start.jar
we get
java -Dsolr.solr.home=../examples/multicore/solrhome -jar start.jar
{noformat}
> Rename 'example' dir to 'server' and pull examples into an 'examples'
> directory
> -------------------------------------------------------------------------------
>
> Key: SOLR-3619
> URL: https://issues.apache.org/jira/browse/SOLR-3619
> Project: Solr
> Issue Type: Improvement
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 4.0, 5.0
>
> Attachments: SOLR-3619.patch, server-name-layout.png
>
>
--
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: [email protected]
For additional commands, e-mail: [email protected]