Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-19 Thread Marius Dumitru Florea
On Thu, Jun 19, 2014 at 12:49 AM, Chris Hostetter
hossman_luc...@fucit.org wrote:

 : WARN  o.a.s.r.ManagedResource- No stored data found for
 : /schema/analysis/stopwords/english
 : WARN  o.a.s.r.ManagedResource- No stored data found for
 : /schema/analysis/synonyms/english
 :
 : I fixed these by commenting out the managed_en field type in my
 : schema, see 
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L486


 FWIW: Unless i'm missing something, you should have only gotten those
 warnings in the situation where you started using the 4.8
 example schema.xml (or cut/pasted those from the 4.8 into your existing
 schema) but you didn't use the rest of the cof files that came with 4.8 --
 so you didn't have the stored data JSON file that goes with it -- in which
 case that is a legitimate warning that you have an analysis factory
 existing to use a managed resource but there is no managed data file
 available.

Yes, you're right, I've merged my schema with the one provided with 4.8.


 : WARN  o.a.s.r.ManagedResource- No stored data found for 
 /rest/managed
 : WARN  o.a.s.r.ManagedResource- No registered observers for 
 /rest/managed
 :
 : How can I get rid of these 2?
 :
 : This jira issue is related https://issues.apache.org/jira/browse/SOLR-6128 .

 I agree, there's no reason i can see for those to be warnings -- so as to
 keep SOLR-6128 focused on just one thing, i've created SOLR-6179 to track
 the ManagedResource WARNs...


 https://issues.apache.org/jira/browse/SOLR-6179

Thanks,
Marius



 -Hoss
 http://www.lucidworks.com/


Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-18 Thread Chris Hostetter

: WARN  o.a.s.r.ManagedResource- No stored data found for
: /schema/analysis/stopwords/english
: WARN  o.a.s.r.ManagedResource- No stored data found for
: /schema/analysis/synonyms/english
: 
: I fixed these by commenting out the managed_en field type in my
: schema, see 
https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L486

FWIW: Unless i'm missing something, you should have only gotten those 
warnings in the situation where you started using the 4.8 
example schema.xml (or cut/pasted those from the 4.8 into your existing 
schema) but you didn't use the rest of the cof files that came with 4.8 -- 
so you didn't have the stored data JSON file that goes with it -- in which 
case that is a legitimate warning that you have an analysis factory 
existing to use a managed resource but there is no managed data file 
available.

: WARN  o.a.s.r.ManagedResource- No stored data found for /rest/managed
: WARN  o.a.s.r.ManagedResource- No registered observers for 
/rest/managed
: 
: How can I get rid of these 2?
: 
: This jira issue is related https://issues.apache.org/jira/browse/SOLR-6128 .

I agree, there's no reason i can see for those to be warnings -- so as to 
keep SOLR-6128 focused on just one thing, i've created SOLR-6179 to track 
the ManagedResource WARNs...

https://issues.apache.org/jira/browse/SOLR-6179


-Hoss
http://www.lucidworks.com/


Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-17 Thread Ahmet Arslan
Hi,

I think it would attract more attention if title mentions about 'managed 
resource warn logs' or something like that.

AHmet

On Tuesday, June 17, 2014 8:12 AM, Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com wrote:
On Thu, Jun 12, 2014 at 11:16 AM, Marius Dumitru Florea
mariusdumitru.flo...@xwiki.com wrote:
 Hi guys,

 After I upgraded to Solr 4.8.1 I got a few warning messages in the log
 at startup:

 WARN  o.a.s.c.SolrResourceLoader     - Solr loaded a deprecated
 plugin/analysis class [solr.ThaiWordFilterFactory]. Please consult
 documentation how to replace it accordingly.

 I fixed this with
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L1159

 WARN  o.a.s.r.ManagedResource        - No stored data found for
 /schema/analysis/stopwords/english
 WARN  o.a.s.r.ManagedResource        - No stored data found for
 /schema/analysis/synonyms/english

 I fixed these by commenting out the managed_en field type in my
 schema, see 
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L486

 And now I'm left with:


 WARN  o.a.s.r.ManagedResource        - No stored data found for /rest/managed
 WARN  o.a.s.r.ManagedResource        - No registered observers for 
 /rest/managed

Nobody else gets these warning messages in the logs? If there are
migration/upgrade notes I haven't read, a link would be very helpful.

Thanks,
Marius





 How can I get rid of these 2?

 This jira issue is related https://issues.apache.org/jira/browse/SOLR-6128 .

 Thanks,
 Marius



Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-17 Thread Daniel Collins
I confess we had upgraded to 4.8.1 and totally missed these warnings!  I'm
guessing they might be related to the ManagedIndexSchemaFactory stuff,
which is commented out in the example configs.  We don't use any of the
REST stuff ourselves, so I can't comment any further.

I think you are ok as long as they are just warnings, hopefully a
subsequent release will tidy up the config to make them go away, but if
they caused any real problems, I think we'd know about it by now.


On 17 June 2014 07:08, Ahmet Arslan iori...@yahoo.com.invalid wrote:

 Hi,

 I think it would attract more attention if title mentions about 'managed
 resource warn logs' or something like that.

 AHmet

 On Tuesday, June 17, 2014 8:12 AM, Marius Dumitru Florea 
 mariusdumitru.flo...@xwiki.com wrote:
 On Thu, Jun 12, 2014 at 11:16 AM, Marius Dumitru Florea
 mariusdumitru.flo...@xwiki.com wrote:
  Hi guys,
 
  After I upgraded to Solr 4.8.1 I got a few warning messages in the log
  at startup:
 
  WARN  o.a.s.c.SolrResourceLoader - Solr loaded a deprecated
  plugin/analysis class [solr.ThaiWordFilterFactory]. Please consult
  documentation how to replace it accordingly.
 
  I fixed this with
 
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L1159
 
  WARN  o.a.s.r.ManagedResource- No stored data found for
  /schema/analysis/stopwords/english
  WARN  o.a.s.r.ManagedResource- No stored data found for
  /schema/analysis/synonyms/english
 
  I fixed these by commenting out the managed_en field type in my
  schema, see
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L486
 
  And now I'm left with:
 

  WARN  o.a.s.r.ManagedResource- No stored data found for
 /rest/managed
  WARN  o.a.s.r.ManagedResource- No registered observers for
 /rest/managed

 Nobody else gets these warning messages in the logs? If there are
 migration/upgrade notes I haven't read, a link would be very helpful.

 Thanks,
 Marius




 
  How can I get rid of these 2?
 
  This jira issue is related
 https://issues.apache.org/jira/browse/SOLR-6128 .
 
  Thanks,
  Marius




Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-17 Thread Marius Dumitru Florea
On Tue, Jun 17, 2014 at 9:08 AM, Ahmet Arslan iori...@yahoo.com.invalid wrote:
 Hi,


 I think it would attract more attention if title mentions about 'managed 
 resource warn logs' or something like that.

Too late for that, unless you suggest opening a new thread :)

Thanks for the tip,
Marius


 AHmet

 On Tuesday, June 17, 2014 8:12 AM, Marius Dumitru Florea 
 mariusdumitru.flo...@xwiki.com wrote:
 On Thu, Jun 12, 2014 at 11:16 AM, Marius Dumitru Florea
 mariusdumitru.flo...@xwiki.com wrote:
 Hi guys,

 After I upgraded to Solr 4.8.1 I got a few warning messages in the log
 at startup:

 WARN  o.a.s.c.SolrResourceLoader - Solr loaded a deprecated
 plugin/analysis class [solr.ThaiWordFilterFactory]. Please consult
 documentation how to replace it accordingly.

 I fixed this with
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L1159

 WARN  o.a.s.r.ManagedResource- No stored data found for
 /schema/analysis/stopwords/english
 WARN  o.a.s.r.ManagedResource- No stored data found for
 /schema/analysis/synonyms/english

 I fixed these by commenting out the managed_en field type in my
 schema, see 
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L486

 And now I'm left with:


 WARN  o.a.s.r.ManagedResource- No stored data found for /rest/managed
 WARN  o.a.s.r.ManagedResource- No registered observers for 
 /rest/managed

 Nobody else gets these warning messages in the logs? If there are
 migration/upgrade notes I haven't read, a link would be very helpful.

 Thanks,
 Marius





 How can I get rid of these 2?

 This jira issue is related https://issues.apache.org/jira/browse/SOLR-6128 .

 Thanks,
 Marius



Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-17 Thread Marius Dumitru Florea
On Tue, Jun 17, 2014 at 10:37 AM, Daniel Collins danwcoll...@gmail.com wrote:
 I confess we had upgraded to 4.8.1 and totally missed these warnings!  I'm
 guessing they might be related to the ManagedIndexSchemaFactory stuff,
 which is commented out in the example configs.  We don't use any of the
 REST stuff ourselves, so I can't comment any further.

 I think you are ok as long as they are just warnings, hopefully a
 subsequent release will tidy up the config to make them go away, but if
 they caused any real problems, I think we'd know about it by now.

I haven't noticed any problems indeed. Still, these warning messages
are a bit annoying. My main concern is that the next time there is a
problem with the product I'm working on (see
http://jira.xwiki.org/browse/XWIKI-10379 ) someone may loose time
digging in the wrong place due to these warning messages being present
in the logs.

Thanks,
Marius



 On 17 June 2014 07:08, Ahmet Arslan iori...@yahoo.com.invalid wrote:

 Hi,

 I think it would attract more attention if title mentions about 'managed
 resource warn logs' or something like that.

 AHmet

 On Tuesday, June 17, 2014 8:12 AM, Marius Dumitru Florea 
 mariusdumitru.flo...@xwiki.com wrote:
 On Thu, Jun 12, 2014 at 11:16 AM, Marius Dumitru Florea
 mariusdumitru.flo...@xwiki.com wrote:
  Hi guys,
 
  After I upgraded to Solr 4.8.1 I got a few warning messages in the log
  at startup:
 
  WARN  o.a.s.c.SolrResourceLoader - Solr loaded a deprecated
  plugin/analysis class [solr.ThaiWordFilterFactory]. Please consult
  documentation how to replace it accordingly.
 
  I fixed this with
 
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L1159
 
  WARN  o.a.s.r.ManagedResource- No stored data found for
  /schema/analysis/stopwords/english
  WARN  o.a.s.r.ManagedResource- No stored data found for
  /schema/analysis/synonyms/english
 
  I fixed these by commenting out the managed_en field type in my
  schema, see
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L486
 
  And now I'm left with:
 

  WARN  o.a.s.r.ManagedResource- No stored data found for
 /rest/managed
  WARN  o.a.s.r.ManagedResource- No registered observers for
 /rest/managed

 Nobody else gets these warning messages in the logs? If there are
 migration/upgrade notes I haven't read, a link would be very helpful.

 Thanks,
 Marius




 
  How can I get rid of these 2?
 
  This jira issue is related
 https://issues.apache.org/jira/browse/SOLR-6128 .
 
  Thanks,
  Marius




Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-16 Thread Marius Dumitru Florea
On Thu, Jun 12, 2014 at 11:16 AM, Marius Dumitru Florea
mariusdumitru.flo...@xwiki.com wrote:
 Hi guys,

 After I upgraded to Solr 4.8.1 I got a few warning messages in the log
 at startup:

 WARN  o.a.s.c.SolrResourceLoader - Solr loaded a deprecated
 plugin/analysis class [solr.ThaiWordFilterFactory]. Please consult
 documentation how to replace it accordingly.

 I fixed this with
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L1159

 WARN  o.a.s.r.ManagedResource- No stored data found for
 /schema/analysis/stopwords/english
 WARN  o.a.s.r.ManagedResource- No stored data found for
 /schema/analysis/synonyms/english

 I fixed these by commenting out the managed_en field type in my
 schema, see 
 https://github.com/xwiki/xwiki-platform/commit/d41580c383f40d2aa4e4f551971418536a3f3a20#diff-44d79e64e45f3b05115aebcd714bd897L486

 And now I'm left with:


 WARN  o.a.s.r.ManagedResource- No stored data found for /rest/managed
 WARN  o.a.s.r.ManagedResource- No registered observers for 
 /rest/managed

Nobody else gets these warning messages in the logs? If there are
migration/upgrade notes I haven't read, a link would be very helpful.

Thanks,
Marius


 How can I get rid of these 2?

 This jira issue is related https://issues.apache.org/jira/browse/SOLR-6128 .

 Thanks,
 Marius