i use tomcat ,, send ur solr version to me...i try it again..
2007/6/27, Nick Jenkin <[EMAIL PROTECTED]>:
If you are using the example provided in 1.2 (using jetty) you need to use "ant example" rather than "ant dist" -Nick On 6/27/07, James liu <[EMAIL PROTECTED]> wrote: > Yes, i use 1.2,,,,my compile method: > download solr 1.2 and modify file by your patch. > > use `ant dist` to compile it. no error show. > > i can see its admin gui, but i wanna try search, it will show me the error > information, > > Is my compile method right? if not, show me how to compile it. > > it seems very strange ,only me fail? anyone have same question? > > if free, maybe u zip your solr to me by mail...and i try it again. > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > Interesting, what version of solr are you using, I tested on 1.2. > > -Nick > > > > On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: > > > i just cp it to src\java\org\apache\solr\request and ant dist...i think > > > maybe my method is wrong. > > > > > > same error infromation... > > > > > > 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) > > > > > > > > > > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > > > I have some good news :o) > > > > > > > > https://issues.apache.org/jira/browse/SOLR-275 > > > > > > > > Please let me know if you find any bugs > > > > Thanks > > > > -Nick > > > > > > > > On 6/26/07, James liu <[EMAIL PROTECTED]> wrote: > > > > > I think it simple to u. > > > > > > > > > > so i wait for ur good news. > > > > > > > > > > 2007/6/26, Nick Jenkin <[EMAIL PROTECTED]>: > > > > > > > > > > > > I am also quite interested in getting a serialized PHP array > > response > > > > > > writer, after some investigation it doesn't seem as difficult as I > > > > > > first thought, I will have a try at implementing this when I get > > some > > > > > > time, the format of the array would probably end up being the same > > as > > > > > > if you were to use json_decode. > > > > > > -Nick > > > > > > > > > > > > On 6/26/07, Tristan Vittorio <[EMAIL PROTECTED]> wrote: > > > > > > > I am also looking for a PHP response writer that outputs > > serialized > > > > PHP > > > > > > > code, I've taken a look at > > > > > > > SOLR-196<http://issues.apache.org/jira/browse/SOLR-196>but it's > > not > > > > > > > quite what I need. Unless anyone else has started implementing > > > > > > > one, I will see if I can modify Paul's patch to do the task. > > > > > > > > > > > > > > cheers, > > > > > > > Tristan > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 6/25/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > My experience tells me that serializing/unserializing tends to > > be > > > > > > faster > > > > > > > > than eval(), especially on larger arrays. I've looked at the > > > > code, > > > > > > trying > > > > > > > > to put together a PHP serialized array output type, but > > haven't > > > > had > > > > > > > > success > > > > > > > > doing it yet. If I do, it'll be contributed back, but until > > > > someone > > > > > > does > > > > > > > > that version, the way Nick suggests is probably the only > > option. > > > > > > > > > > > > > > > > > > > > > > > > On 6/25/07, Nick Jenkin <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Michael Kimsal > > > > > > > > http://webdevradio.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > regards > > > > > jl > > > > > > > > > > > > > > > > > > > > > -- > > > regards > > > jl > > > > > > > > > -- > regards > jl >
-- regards jl