Re: solr.xml coreRootDirectory relative to solr home

2014-11-07 Thread Chris Hostetter
: An oversight I think. If you create a patch, let me know and we can : get it committed. that definitely sounds bad we should certainly try to fix that before 5.0 comes out since it does have back-compat implictations... https://issues.apache.org/jira/browse/SOLR-6718 ...better to hav

Re: solr.xml coreRootDirectory relative to solr home

2014-11-06 Thread Shawn Heisey
On 11/6/2014 12:02 PM, Erick Erickson wrote: > An oversight I think. If you create a patch, let me know and we can > get it committed. > > Hmmm, not sure though, this'll change the current behavior that people might > be > counting on Relative to the solr home sounds like the best option to m

Re: solr.xml coreRootDirectory relative to solr home

2014-11-06 Thread Erick Erickson
An oversight I think. If you create a patch, let me know and we can get it committed. Hmmm, not sure though, this'll change the current behavior that people might be counting on On Thu, Nov 6, 2014 at 1:02 AM, Andreas Hubold wrote: > Hi, > > I'm trying to configure a different core discovery

Re: solr.xml

2013-12-09 Thread William Bell
Thanks Mark. https://issues.apache.org/jira/browse/SOLR-5543 On Mon, Dec 9, 2013 at 2:39 PM, Mark Miller wrote: > Sounds like a bug. If you are seeing this happen in 4.6, I'd file a JIRA > issue. > > - Mark > > > On Sun, Dec 8, 2013 at 3:49 PM, William Bell wrote: > > > Any thoughts? Why are

Re: solr.xml

2013-12-09 Thread Mark Miller
Sounds like a bug. If you are seeing this happen in 4.6, I'd file a JIRA issue. - Mark On Sun, Dec 8, 2013 at 3:49 PM, William Bell wrote: > Any thoughts? Why are we getting duplicate items in solr.xml ? > > -- Forwarded message -- > From: William Bell > Date: Sat, Dec 7, 2013

Re: Solr.xml dataDir attribute persistence

2013-06-12 Thread Erick Erickson
This is a know bug, see: https://issues.apache.org/jira/browse/SOLR-4862 Solr.xml persistence has several shortcomings. As it happens I'm working on that right now, but the results won't be ready until 4.4. I hope to get a patch up over the weekend (SOLR-4910) and this is one of the things I want

Re: solr.xml or its successor in the wiki

2013-05-20 Thread Benson Margulies
I suppose you saw my JIRA suggesting that solr.xml should might have the same repetoire of 'lib' elements as solrconfig.xml, instead of just a single 'str'. On Mon, May 20, 2013 at 11:16 AM, Erick Erickson wrote: > What's supposed to happen (not guaranteeing it is completely correct, > mind you)

Re: solr.xml or its successor in the wiki

2013-05-20 Thread Erick Erickson
What's supposed to happen (not guaranteeing it is completely correct, mind you) is that the presence of a tag defines which checks are performed. Errors are thrown on old-style constructs when no tag is present and vice-versa. Best Erick On Sun, May 19, 2013 at 7:20 PM, Benson Margulies wrote

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
One point of confusion: Is the compatibility code I hit trying to prohibit the 'str' form when it sees old-fangled cores? Or when the current running version pre-5.0? I hope it's the former. On Sun, May 19, 2013 at 6:47 PM, Shawn Heisey wrote: > On 5/19/2013 4:38 PM, Benson Margulies wrote: >> Sh

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Shawn Heisey
On 5/19/2013 4:38 PM, Benson Margulies wrote: > Shawn, thanks. need any more jiras on this? I don't think so, but if you grab the 4.3 branch or branch_4x and find any bugs, let us know. Thanks, Shawn

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
Shawn, thanks. need any more jiras on this? On May 19, 2013, at 6:37 PM, Shawn Heisey wrote: > On 5/19/2013 11:27 AM, Benson Margulies wrote: >> Starting with the shipped solr.xml, I added a new-style child to >> configure a shared lib, and i was rewarded with: >> >> Caused by: org.apache.solr.

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Shawn Heisey
On 5/19/2013 11:27 AM, Benson Margulies wrote: > Starting with the shipped solr.xml, I added a new-style child to > configure a shared lib, and i was rewarded with: > > Caused by: org.apache.solr.common.SolrException: Should not have found > solr/str[@name='sharedLib'] solr.xml may be a mix of ol

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
Starting with the shipped solr.xml, I added a new-style child to configure a shared lib, and i was rewarded with: Caused by: org.apache.solr.common.SolrException: Should not have found solr/str[@name='sharedLib'] solr.xml may be a mix of old and new style formats. at org.apache.solr.core.ConfigSo

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
OK, I found the successor. On Sun, May 19, 2013 at 12:40 PM, Benson Margulies wrote: > I found http://wiki.apache.org/solr/Solr.xml%204.3%20and%20beyond, but > it doesn't mention the successor to sharedLib. > > On Sun, May 19, 2013 at 12:02 PM, Benson Margulies > wrote: >> http://wiki.apache.org

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
I found http://wiki.apache.org/solr/Solr.xml%204.3%20and%20beyond, but it doesn't mention the successor to sharedLib. On Sun, May 19, 2013 at 12:02 PM, Benson Margulies wrote: > http://wiki.apache.org/solr/ConfiguringSolr > > does not point to any information on solr.xml. > > Given https://issues

RE: solr.xml entries got deleted when powered off

2012-08-15 Thread vempap
No, I'm not keeping them in /tmp -- View this message in context: http://lucene.472066.n3.nabble.com/solr-xml-entries-got-deleted-when-powered-off-tp4001496p4001506.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: solr.xml entries got deleted when powered off

2012-08-15 Thread Buttler, David
You are not putting these files in /tmp are you? That is sometimes wiped by different OS's on shutdown -Original Message- From: vempap [mailto:phani.vemp...@emc.com] Sent: Wednesday, August 15, 2012 3:31 PM To: solr-user@lucene.apache.org Subject: Re: solr.xml entries got deleted

Re: solr.xml entries got deleted when powered off

2012-08-15 Thread vempap
It's happening when I'm not doing a clean shutdown. Are there any more scenarios it might happen ? -- View this message in context: http://lucene.472066.n3.nabble.com/solr-xml-entries-got-deleted-when-powered-off-tp4001496p4001503.html Sent from the Solr - User mailing list archive at Nabble.co

Re: solr.xml entries got deleted when powered off

2012-08-15 Thread vempap
nopes .. there is good amount of space left on disk -- View this message in context: http://lucene.472066.n3.nabble.com/solr-xml-entries-got-deleted-when-powered-off-tp4001496p4001502.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr.xml entries got deleted when powered off

2012-08-15 Thread Leonardo Souza
Just guessing,. disk full? -- Abraços, Leonardo S Souza 2012/8/15 vempap > Hello, > > I created an index => all the schema.xml & solrconfig.xml files are > created with content (I checked that they have contents in the xml files). > But, if I poweroff the system & restart again - the conte

Re: solr.xml isn't loaded from classpath?

2011-02-28 Thread Chris Hostetter
: It seems like when "solr home" is absent, Solr makes an attempt to look : a few other places to load its configuration. It will try to look for : solrconfig.xml on the classpath as well. It doesn't seem like it makes : any attempt to find solr.xml though. Why is that? Read below for the

Re: solr.xml absolute path schema and config files

2010-04-26 Thread Chris Hostetter
: Maybe we can add an error message to ShowFileRequesHandler that : explains to the user that displaying an absolute path doesn't work? yeah ... that would certianly be better -- i think it alreayd does that if you try "../../foo" but for "absolute" paths there is no explicit test -- just the f

Re: solr.xml absolute path schema and config files

2010-04-26 Thread Jason Rutherglen
Maybe we can add an error message to ShowFileRequesHandler that explains to the user that displaying an absolute path doesn't work? On Mon, Apr 26, 2010 at 1:13 PM, Chris Hostetter wrote: > > : Does this work?  When trying to display with a URL such as > : "solr/sandbox/admin/file/?file=/mnt/solr

Re: solr.xml absolute path schema and config files

2010-04-26 Thread Chris Hostetter
: Does this work? When trying to display with a URL such as : "solr/sandbox/admin/file/?file=/mnt/solr/schema.xml" from the Solr : admin console, the following error occurs: : : type Status report : : message Can not find: schema.xml [/mnt/solr/sandbox/conf/mnt/solr/schema.xml] As written the