Well it turns out that your suggestion was true. I added
lucene-memory-3.0.2.jar from the contrib/memory folder to the CLASSPATH and
it works.
The odd thing is that I most definitely have not added the jar to the CP in
Windows - and there wildcards work (with just core and highlight).

Thanks and greetings,
Markus


                                                                       
             Ian Lea                                                   
             <ian....@gmail                                            
             .com>                                                      An
                                     java-user@lucene.apache.org       
             30.07.2010                                              Kopie
             15:51                                                     
                                                                     Thema
                                     Re: Re: Highlighter wildcard      
                 Bitte               problems: NoClassDefFoundError in 
              antworten an           Linux/CentOS 5.4, works in Windows XP
             java-u...@luce                                            
             ne.apache.org                                             
                                                                       
                                                                       
                                                                       
                                                                       




Because the highlighter only uses MemoryIndex if wildcards are involved?  I
don't use the highlighter package so have no idea if that is correct or
not,
but the message

 java.lang.NoClassDefFoundError: org/apache/lucene/index/memory/MemoryIndex

is clear.  The jvm can't find that class.


--
Ian.


On Fri, Jul 30, 2010 at 2:46 PM, Markus Roth <m.r...@stoeu.com> wrote:

>
>
>
> First of all, thanks for your response.
> But how can that be true if a search-term without a wildcard (and the
> highlighting of the results) works fine?
>
> Greetings,
> Markus
>
>
> [image: Inactive hide details for Ian Lea ---30.07.2010 15:42:05---Your
> linux set up is evidently missing a jar file - the one that con]Ian Lea
> ---30.07.2010 15:42:05---Your linux set up is evidently missing a jar
file -
> the one that contains
>
>
>     *Ian Lea <ian....@gmail.com>*
>
>             30.07.2010 15:39
>             Bitte antworten an
>             java-user@lucene.apache.org
>
>
> An
>
> java-user@lucene.apache.org
> Kopie
>
>
> Thema
>
> Re: Highlighter wildcard problems: NoClassDefFoundError in Linux/CentOS
> 5.4, works in Windows XP
>
> Your linux set up is evidently missing a jar file - the one that contains
> org/apache/lucene/index/memory/MemoryIndex.   Or it is there but not in
the
> CLASSPATH, or something else along those lines.
>
>
> --
> Ian.
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Sto AG, Ehrenbachstr.1, D-79780 Stuehlingen
>
> Vorstand/Board: Jochen Stotmeister (Vorsitzender/Chairman),
> Gerd Stotmeister, Hans-Dieter Schumacher
> Aufsichtsratsvorsitzender/Chairman Supervisory Board:
> Dr. Max-Burkhard Zwosta
>
> Sitz der Gesellschaft/Head Office: D-79780 Stuehlingen
> Handelsregister/Registration: Amtsgericht Freiburg HRB 620675
> USt-ID/Tax ID: DE142834082
> =============================================================
>


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sto AG, Ehrenbachstr.1, D-79780 Stuehlingen

Vorstand/Board: Jochen Stotmeister (Vorsitzender/Chairman),
Gerd Stotmeister, Hans-Dieter Schumacher
Aufsichtsratsvorsitzender/Chairman Supervisory Board:
Dr. Max-Burkhard Zwosta

Sitz der Gesellschaft/Head Office: D-79780 Stuehlingen
Handelsregister/Registration: Amtsgericht Freiburg HRB 620675
USt-ID/Tax ID: DE142834082
=============================================================

Reply via email to