i use stupid way just to create file by your patch. and compile is ok

when i test it and start tomcat,,,i can see solr admin interface.

but when i search something.. it show me

2007-6-25 15:15:37 org.apache.solr.core.SolrException log
严重: java.lang.NoClassDefFoundError:
org/apache/solr/search/ScorePriorityQueue
   at org.apache.solr.search.SolrIndexSearcher.getDocListNC(
SolrIndexSearcher.java:886)
   at org.apache.solr.search.SolrIndexSearcher.getDocListC(
SolrIndexSearcher.java:805)
   at org.apache.solr.search.SolrIndexSearcher.getDocList(
SolrIndexSearcher.java:698)
   at org.apache.solr.request.StandardRequestHandler.handleRequestBody(
StandardRequestHandler.java:122)
   at org.apache.solr.handler.RequestHandlerBase.handleRequest(
RequestHandlerBase.java:77)
   at org.apache.solr.core.SolrCore.execute(SolrCore.java:658)
   at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:66)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
   at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
SolrDispatchFilter.java:185)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:228)
   at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:175)
   at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:104)
   at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:216)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
   at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:634)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
:445)
   at java.lang.Thread.run(Unknown Source)


i find ScorePriorityQueue in SolrIndexSearcher, and i no change it.

2007/6/25, James liu <[EMAIL PROTECTED]>:

I means how to add it to my solr(1.2 production)

2007/6/25, James liu <[EMAIL PROTECTED]>:
>
> aha,,it seems good, how can i fix it with my solr, i don't know how do
> with it
>
>
> 2007/6/25, Nick Jenkin < [EMAIL PROTECTED]>:
> >
> > Hi James
> > I think you would be better of outputting an PHP array, and running
> > eval() over it, the PHP serialize format is quite complicated.
> >
> > On that note, you might be interested in:
> > http://issues.apache.org/jira/browse/SOLR-196
> > -Nick
> >
> > On 6/25/07, James liu <[EMAIL PROTECTED] > wrote:
> > > which files i should change from source?
> > >
> > > and if i change ok.
> > >
> > > how to compile? just ant dist?
> > >
> > > --
> > > regards
> > > jl
> > >
> >
>
>
>
> --
> regards
> jl




--
regards
jl




--
regards
jl

Reply via email to