[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-dev
Subject: Re: So do we even need solr.xml any more?
From: Erick Erickson <erickerickson () gmail ! com>
Date: 2013-08-30 20:25:12
Message-ID: CAN4YXvd=jnydTywmckATqNrudRU_p4QV7-F9r5VN6Vjx+goisw () mail ! gmail ! com
[Download RAW message or body]
No, 4x still works without it, so there's nothing really to be done. More
an observation that it's possible to be _really_ minimal....
Erick
On Fri, Aug 30, 2013 at 1:44 PM, Mark Miller <markrmiller@gmail.com> wrote:
> I think solr.xml should be required. We already had this functionality for
> back compat and it's confusing.
>
> I don't think there are any benefits to allowing Solr to run without it.
>
> However, 4.x should still work without - if that has changed, that is a
> problem and it should be fixed. Only 5.x should require it.
>
> - Mark
>
> On Aug 30, 2013, at 12:42 PM, Erick Erickson <erickerickson@gmail.com>
> wrote:
>
> > As an experiment while writing a test, I played around with solr.xml and
> defined it this way:
> > <solr/>
> >
> > Starts up and runs just fine in core discovery mode since it defaults to
> core discovery mode in the absence of a <cores> tag. Of course all the
> defaults are used and you better have core.properties files in the right
> place and all that, but...
> >
> > So does it make sense to officially support a "no solr.xml" option?
> Removing solr.xml entirely barfs with "solr.xml does not exist in
> /Users/Erick/apache/trunk/solr/example/solr/solr.xml cannot start Solr" and
> an empty solr.xml results in an XML parsing error.
> >
> > I don't have strong feelings either way, but thought I'd throw it out
> for people to kick around.
> >
> > Worth a JIRA?
> >
> > Erick
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
[Attachment #3 (text/html)]
<div dir="ltr">No, 4x still works without it, so there's nothing really to be \
done. More an observation that it's possible to be _really_ \
minimal....<div><br></div><div>Erick</div></div><div class="gmail_extra"><br> \
<br><div class="gmail_quote">On Fri, Aug 30, 2013 at 1:44 PM, Mark Miller <span \
dir="ltr"><<a href="mailto:markrmiller@gmail.com" \
target="_blank">markrmiller@gmail.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> I think solr.xml should be required. We already had this \
functionality for back compat and it's confusing.<br> <br>
I don't think there are any benefits to allowing Solr to run without it.<br>
<br>
However, 4.x should still work without - if that has changed, that is a problem and \
it should be fixed. Only 5.x should require it.<br> <br>
- Mark<br>
<div><div class="h5"><br>
On Aug 30, 2013, at 12:42 PM, Erick Erickson <<a \
href="mailto:erickerickson@gmail.com">erickerickson@gmail.com</a>> wrote:<br> <br>
> As an experiment while writing a test, I played around with solr.xml and defined \
it this way:<br> > <solr/><br>
><br>
> Starts up and runs just fine in core discovery mode since it defaults to core \
discovery mode in the absence of a <cores> tag. Of course all the defaults are \
used and you better have core.properties files in the right place and all that, \
but...<br>
><br>
> So does it make sense to officially support a "no solr.xml" option? \
Removing solr.xml entirely barfs with "solr.xml does not exist in \
/Users/Erick/apache/trunk/solr/example/solr/solr.xml cannot start Solr" and an \
empty solr.xml results in an XML parsing error.<br>
><br>
> I don't have strong feelings either way, but thought I'd throw it out \
for people to kick around.<br> ><br>
> Worth a JIRA?<br>
><br>
> Erick<br>
<br>
<br>
</div></div>---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a \
href="mailto:dev-unsubscribe@lucene.apache.org">dev-unsubscribe@lucene.apache.org</a><br>
For additional commands, e-mail: <a \
href="mailto:dev-help@lucene.apache.org">dev-help@lucene.apache.org</a><br> <br>
</blockquote></div><br></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic