You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Otis Gospodnetic <ot...@yahoo.com> on 2009/07/24 04:40:25 UTC

Re: server won't start using configs from Drupal

I think the problem is CharStreamAwareWhitespaceTokenizerFactory, which used to live in Solr (when Drupal schema.xml for Solr was made), but has since moved to Lucene.  I'm half guessing. :)

 Otis
--
Sematext is hiring -- http://sematext.com/about/jobs.html?mls
Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR



----- Original Message ----
> From: david <da...@kenpro.com.au>
> To: solr-user@lucene.apache.org
> Sent: Thursday, July 23, 2009 9:59:53 PM
> Subject: server won't start using configs from Drupal 
> 
> I've downloaded solr-2009-07-21.tgz and followed the instructions at 
> http://drupal.org/node/343467 including retrieving the solrconfig.xml and 
> schema.xml files from the Drupal apachesolr module.
> 
> The server seems to start properly with the original solrconfig.xml and 
> schema.xml files
> 
> When I try to start up the server with the Drupal supplied files, I get errors 
> on the command line, and a 500 error from the server.
> 
> solrconfig.xml         http://pastebin.com/m23d14a2
> schema.xml         http://pastebin.com/m2e79f304
> output of http://localhost:8983/solr/admin/:      http://pastebin.com/m410fa74d
> 
> 
> Following looks to me like the important bits, but I'm not a java coder, so I 
> could easily be wrong.
> 
> command line extract:
> 
> 22/07/2009 5:58:54 PM org.apache.solr.common.SolrException log
> SEVERE: org.apache.solr.common.SolrException: analyzer without class or 
> tokenizer & filter list
> (plus lots of WARN messages)
> 
> extract from browser at http://localhost:8983/solr/admin/
> 
> org.apache.solr.common.SolrException: Unknown fieldtype 'text' specified on 
> field title
> (snip lots of stuff)
> org.apache.solr.common.SolrException: analyzer without class or tokenizer & 
> filter list
> (snip lots of stuff)
> org.apache.solr.common.SolrException: Error loading class 
> 'solr.CharStreamAwareWhitespaceTokenizerFactory'
> (snip lots of stuff)
> Caused by: java.lang.ClassNotFoundException: 
> solr.CharStreamAwareWhitespaceTokenizerFactory
> 
> Nothing in apache logs...
> 
> solr logs contain this:
> 127.0.0.1 - - [22/07/2009:08:01:10 +0000] "GET /solr/admin/ HTTP/1.1" 500 10292
> 
> Any help greatly appreciated.
> 
> David.


Re: server won't start using configs from Drupal

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
Peter,

It was committed revision 794328.

Please see:

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

Koji

Peter Wolanin wrote:
> Looks like we better update our schema for the Drupal module - what
> rev of Solr incorporates this change?
>
> -Peter
>
>
> On Fri, Jul 24, 2009 at 8:38 AM, Koji Sekiguchi<ko...@r.email.ne.jp> wrote:
>   
>> David,
>>
>> Try to change solr.CharStreamAwareWhitespaceTokenizerFactory to
>> solr.WhitespaceTokenizerFactory
>> in your schema.xml and reboot Solr.
>>
>> Koji
>>
>>
>> david wrote:
>>     
>>> Otis Gospodnetic wrote:
>>>       
>>>> I think the problem is CharStreamAwareWhitespaceTokenizerFactory, which
>>>> used to live in Solr (when Drupal schema.xml for Solr was made), but has
>>>> since moved to Lucene.  I'm half guessing. :)
>>>>
>>>>  Otis
>>>> --
>>>>         
>>> Thanks .... unfortunately I have no idea about Java. Do you know when that
>>> change was made?
>>>
>>> regards,
>>>
>>> David.
>>>
>>>
>>>       
>>>> Sematext is hiring -- http://sematext.com/about/jobs.html?mls
>>>> Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
>>>>
>>>>
>>>>
>>>> ----- Original Message ----
>>>>         
>>>>> From: david <da...@kenpro.com.au>
>>>>> To: solr-user@lucene.apache.org
>>>>> Sent: Thursday, July 23, 2009 9:59:53 PM
>>>>> Subject: server won't start using configs from Drupal
>>>>> I've downloaded solr-2009-07-21.tgz and followed the instructions at
>>>>> http://drupal.org/node/343467 including retrieving the solrconfig.xml and
>>>>> schema.xml files from the Drupal apachesolr module.
>>>>>
>>>>> The server seems to start properly with the original solrconfig.xml and
>>>>> schema.xml files
>>>>>
>>>>> When I try to start up the server with the Drupal supplied files, I get
>>>>> errors on the command line, and a 500 error from the server.
>>>>>
>>>>> solrconfig.xml         http://pastebin.com/m23d14a2
>>>>> schema.xml         http://pastebin.com/m2e79f304
>>>>> output of http://localhost:8983/solr/admin/:
>>>>>  http://pastebin.com/m410fa74d
>>>>>
>>>>>
>>>>> Following looks to me like the important bits, but I'm not a java coder,
>>>>> so I could easily be wrong.
>>>>>
>>>>> command line extract:
>>>>>
>>>>> 22/07/2009 5:58:54 PM org.apache.solr.common.SolrException log
>>>>> SEVERE: org.apache.solr.common.SolrException: analyzer without class or
>>>>> tokenizer & filter list
>>>>> (plus lots of WARN messages)
>>>>>
>>>>> extract from browser at http://localhost:8983/solr/admin/
>>>>>
>>>>> org.apache.solr.common.SolrException: Unknown fieldtype 'text' specified
>>>>> on field title
>>>>> (snip lots of stuff)
>>>>> org.apache.solr.common.SolrException: analyzer without class or
>>>>> tokenizer & filter list
>>>>> (snip lots of stuff)
>>>>> org.apache.solr.common.SolrException: Error loading class
>>>>> 'solr.CharStreamAwareWhitespaceTokenizerFactory'
>>>>> (snip lots of stuff)
>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> solr.CharStreamAwareWhitespaceTokenizerFactory
>>>>>
>>>>> Nothing in apache logs...
>>>>>
>>>>> solr logs contain this:
>>>>> 127.0.0.1 - - [22/07/2009:08:01:10 +0000] "GET /solr/admin/ HTTP/1.1"
>>>>> 500 10292
>>>>>
>>>>> Any help greatly appreciated.
>>>>>
>>>>> David.
>>>>>           
>>     
>
>
>
>   


Re: server won't start using configs from Drupal

Posted by Peter Wolanin <pe...@acquia.com>.
Looks like we better update our schema for the Drupal module - what
rev of Solr incorporates this change?

-Peter


On Fri, Jul 24, 2009 at 8:38 AM, Koji Sekiguchi<ko...@r.email.ne.jp> wrote:
> David,
>
> Try to change solr.CharStreamAwareWhitespaceTokenizerFactory to
> solr.WhitespaceTokenizerFactory
> in your schema.xml and reboot Solr.
>
> Koji
>
>
> david wrote:
>>
>>
>> Otis Gospodnetic wrote:
>>>
>>> I think the problem is CharStreamAwareWhitespaceTokenizerFactory, which
>>> used to live in Solr (when Drupal schema.xml for Solr was made), but has
>>> since moved to Lucene.  I'm half guessing. :)
>>>
>>>  Otis
>>> --
>>
>> Thanks .... unfortunately I have no idea about Java. Do you know when that
>> change was made?
>>
>> regards,
>>
>> David.
>>
>>
>>> Sematext is hiring -- http://sematext.com/about/jobs.html?mls
>>> Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
>>>
>>>
>>>
>>> ----- Original Message ----
>>>>
>>>> From: david <da...@kenpro.com.au>
>>>> To: solr-user@lucene.apache.org
>>>> Sent: Thursday, July 23, 2009 9:59:53 PM
>>>> Subject: server won't start using configs from Drupal
>>>> I've downloaded solr-2009-07-21.tgz and followed the instructions at
>>>> http://drupal.org/node/343467 including retrieving the solrconfig.xml and
>>>> schema.xml files from the Drupal apachesolr module.
>>>>
>>>> The server seems to start properly with the original solrconfig.xml and
>>>> schema.xml files
>>>>
>>>> When I try to start up the server with the Drupal supplied files, I get
>>>> errors on the command line, and a 500 error from the server.
>>>>
>>>> solrconfig.xml         http://pastebin.com/m23d14a2
>>>> schema.xml         http://pastebin.com/m2e79f304
>>>> output of http://localhost:8983/solr/admin/:
>>>>  http://pastebin.com/m410fa74d
>>>>
>>>>
>>>> Following looks to me like the important bits, but I'm not a java coder,
>>>> so I could easily be wrong.
>>>>
>>>> command line extract:
>>>>
>>>> 22/07/2009 5:58:54 PM org.apache.solr.common.SolrException log
>>>> SEVERE: org.apache.solr.common.SolrException: analyzer without class or
>>>> tokenizer & filter list
>>>> (plus lots of WARN messages)
>>>>
>>>> extract from browser at http://localhost:8983/solr/admin/
>>>>
>>>> org.apache.solr.common.SolrException: Unknown fieldtype 'text' specified
>>>> on field title
>>>> (snip lots of stuff)
>>>> org.apache.solr.common.SolrException: analyzer without class or
>>>> tokenizer & filter list
>>>> (snip lots of stuff)
>>>> org.apache.solr.common.SolrException: Error loading class
>>>> 'solr.CharStreamAwareWhitespaceTokenizerFactory'
>>>> (snip lots of stuff)
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> solr.CharStreamAwareWhitespaceTokenizerFactory
>>>>
>>>> Nothing in apache logs...
>>>>
>>>> solr logs contain this:
>>>> 127.0.0.1 - - [22/07/2009:08:01:10 +0000] "GET /solr/admin/ HTTP/1.1"
>>>> 500 10292
>>>>
>>>> Any help greatly appreciated.
>>>>
>>>> David.
>>>
>>
>
>



-- 
Peter M. Wolanin, Ph.D.
Momentum Specialist,  Acquia. Inc.
peter.wolanin@acquia.com

Re: server won't start using configs from Drupal

Posted by david <da...@kenpro.com.au>.

Koji Sekiguchi wrote:
> David,
> 
> Try to change solr.CharStreamAwareWhitespaceTokenizerFactory to 
> solr.WhitespaceTokenizerFactory
> in your schema.xml and reboot Solr.
> 

That worked... thanks...

David.

> Koji
> 
> 
> david wrote:
>>
>>
>> Otis Gospodnetic wrote:
>>> I think the problem is CharStreamAwareWhitespaceTokenizerFactory, 
>>> which used to live in Solr (when Drupal schema.xml for Solr was 
>>> made), but has since moved to Lucene.  I'm half guessing. :)
>>>
>>>  Otis
>>> -- 
>>
>> Thanks .... unfortunately I have no idea about Java. Do you know when 
>> that change was made?
>>
>> regards,
>>
>> David.
>>
>>
>>> Sematext is hiring -- http://sematext.com/about/jobs.html?mls
>>> Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
>>>
>>>
>>>
>>> ----- Original Message ----
>>>> From: david <da...@kenpro.com.au>
>>>> To: solr-user@lucene.apache.org
>>>> Sent: Thursday, July 23, 2009 9:59:53 PM
>>>> Subject: server won't start using configs from Drupal
>>>> I've downloaded solr-2009-07-21.tgz and followed the instructions at 
>>>> http://drupal.org/node/343467 including retrieving the 
>>>> solrconfig.xml and schema.xml files from the Drupal apachesolr module.
>>>>
>>>> The server seems to start properly with the original solrconfig.xml 
>>>> and schema.xml files
>>>>
>>>> When I try to start up the server with the Drupal supplied files, I 
>>>> get errors on the command line, and a 500 error from the server.
>>>>
>>>> solrconfig.xml         http://pastebin.com/m23d14a2
>>>> schema.xml         http://pastebin.com/m2e79f304
>>>> output of http://localhost:8983/solr/admin/:      
>>>> http://pastebin.com/m410fa74d
>>>>
>>>>
>>>> Following looks to me like the important bits, but I'm not a java 
>>>> coder, so I could easily be wrong.
>>>>
>>>> command line extract:
>>>>
>>>> 22/07/2009 5:58:54 PM org.apache.solr.common.SolrException log
>>>> SEVERE: org.apache.solr.common.SolrException: analyzer without class 
>>>> or tokenizer & filter list
>>>> (plus lots of WARN messages)
>>>>
>>>> extract from browser at http://localhost:8983/solr/admin/
>>>>
>>>> org.apache.solr.common.SolrException: Unknown fieldtype 'text' 
>>>> specified on field title
>>>> (snip lots of stuff)
>>>> org.apache.solr.common.SolrException: analyzer without class or 
>>>> tokenizer & filter list
>>>> (snip lots of stuff)
>>>> org.apache.solr.common.SolrException: Error loading class 
>>>> 'solr.CharStreamAwareWhitespaceTokenizerFactory'
>>>> (snip lots of stuff)
>>>> Caused by: java.lang.ClassNotFoundException: 
>>>> solr.CharStreamAwareWhitespaceTokenizerFactory
>>>>
>>>> Nothing in apache logs...
>>>>
>>>> solr logs contain this:
>>>> 127.0.0.1 - - [22/07/2009:08:01:10 +0000] "GET /solr/admin/ 
>>>> HTTP/1.1" 500 10292
>>>>
>>>> Any help greatly appreciated.
>>>>
>>>> David.
>>>
>>
> 

Re: server won't start using configs from Drupal

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
David,

Try to change solr.CharStreamAwareWhitespaceTokenizerFactory to 
solr.WhitespaceTokenizerFactory
in your schema.xml and reboot Solr.

Koji


david wrote:
>
>
> Otis Gospodnetic wrote:
>> I think the problem is CharStreamAwareWhitespaceTokenizerFactory, 
>> which used to live in Solr (when Drupal schema.xml for Solr was 
>> made), but has since moved to Lucene.  I'm half guessing. :)
>>
>>  Otis
>> -- 
>
> Thanks .... unfortunately I have no idea about Java. Do you know when 
> that change was made?
>
> regards,
>
> David.
>
>
>> Sematext is hiring -- http://sematext.com/about/jobs.html?mls
>> Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
>>
>>
>>
>> ----- Original Message ----
>>> From: david <da...@kenpro.com.au>
>>> To: solr-user@lucene.apache.org
>>> Sent: Thursday, July 23, 2009 9:59:53 PM
>>> Subject: server won't start using configs from Drupal
>>> I've downloaded solr-2009-07-21.tgz and followed the instructions at 
>>> http://drupal.org/node/343467 including retrieving the 
>>> solrconfig.xml and schema.xml files from the Drupal apachesolr module.
>>>
>>> The server seems to start properly with the original solrconfig.xml 
>>> and schema.xml files
>>>
>>> When I try to start up the server with the Drupal supplied files, I 
>>> get errors on the command line, and a 500 error from the server.
>>>
>>> solrconfig.xml         http://pastebin.com/m23d14a2
>>> schema.xml         http://pastebin.com/m2e79f304
>>> output of http://localhost:8983/solr/admin/:      
>>> http://pastebin.com/m410fa74d
>>>
>>>
>>> Following looks to me like the important bits, but I'm not a java 
>>> coder, so I could easily be wrong.
>>>
>>> command line extract:
>>>
>>> 22/07/2009 5:58:54 PM org.apache.solr.common.SolrException log
>>> SEVERE: org.apache.solr.common.SolrException: analyzer without class 
>>> or tokenizer & filter list
>>> (plus lots of WARN messages)
>>>
>>> extract from browser at http://localhost:8983/solr/admin/
>>>
>>> org.apache.solr.common.SolrException: Unknown fieldtype 'text' 
>>> specified on field title
>>> (snip lots of stuff)
>>> org.apache.solr.common.SolrException: analyzer without class or 
>>> tokenizer & filter list
>>> (snip lots of stuff)
>>> org.apache.solr.common.SolrException: Error loading class 
>>> 'solr.CharStreamAwareWhitespaceTokenizerFactory'
>>> (snip lots of stuff)
>>> Caused by: java.lang.ClassNotFoundException: 
>>> solr.CharStreamAwareWhitespaceTokenizerFactory
>>>
>>> Nothing in apache logs...
>>>
>>> solr logs contain this:
>>> 127.0.0.1 - - [22/07/2009:08:01:10 +0000] "GET /solr/admin/ 
>>> HTTP/1.1" 500 10292
>>>
>>> Any help greatly appreciated.
>>>
>>> David.
>>
>


Re: server won't start using configs from Drupal

Posted by david <da...@kenpro.com.au>.

Otis Gospodnetic wrote:
> I think the problem is CharStreamAwareWhitespaceTokenizerFactory, which used to live in Solr (when Drupal schema.xml for Solr was made), but has since moved to Lucene.  I'm half guessing. :)
> 
>  Otis
> --

Thanks .... unfortunately I have no idea about Java. Do you know when that change was made?

regards,

David.


> Sematext is hiring -- http://sematext.com/about/jobs.html?mls
> Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
> 
> 
> 
> ----- Original Message ----
>> From: david <da...@kenpro.com.au>
>> To: solr-user@lucene.apache.org
>> Sent: Thursday, July 23, 2009 9:59:53 PM
>> Subject: server won't start using configs from Drupal 
>>
>> I've downloaded solr-2009-07-21.tgz and followed the instructions at 
>> http://drupal.org/node/343467 including retrieving the solrconfig.xml and 
>> schema.xml files from the Drupal apachesolr module.
>>
>> The server seems to start properly with the original solrconfig.xml and 
>> schema.xml files
>>
>> When I try to start up the server with the Drupal supplied files, I get errors 
>> on the command line, and a 500 error from the server.
>>
>> solrconfig.xml         http://pastebin.com/m23d14a2
>> schema.xml         http://pastebin.com/m2e79f304
>> output of http://localhost:8983/solr/admin/:      http://pastebin.com/m410fa74d
>>
>>
>> Following looks to me like the important bits, but I'm not a java coder, so I 
>> could easily be wrong.
>>
>> command line extract:
>>
>> 22/07/2009 5:58:54 PM org.apache.solr.common.SolrException log
>> SEVERE: org.apache.solr.common.SolrException: analyzer without class or 
>> tokenizer & filter list
>> (plus lots of WARN messages)
>>
>> extract from browser at http://localhost:8983/solr/admin/
>>
>> org.apache.solr.common.SolrException: Unknown fieldtype 'text' specified on 
>> field title
>> (snip lots of stuff)
>> org.apache.solr.common.SolrException: analyzer without class or tokenizer & 
>> filter list
>> (snip lots of stuff)
>> org.apache.solr.common.SolrException: Error loading class 
>> 'solr.CharStreamAwareWhitespaceTokenizerFactory'
>> (snip lots of stuff)
>> Caused by: java.lang.ClassNotFoundException: 
>> solr.CharStreamAwareWhitespaceTokenizerFactory
>>
>> Nothing in apache logs...
>>
>> solr logs contain this:
>> 127.0.0.1 - - [22/07/2009:08:01:10 +0000] "GET /solr/admin/ HTTP/1.1" 500 10292
>>
>> Any help greatly appreciated.
>>
>> David.
>