Please ignore this message.  It's working now.

Just found tomcat hasn't updated my webapps directory correctly; it still
has the old 1.1. jars under the WEB-INF/lib.    I deleted the webapp
directory and restarted tomcat. It then worked.


thanks,

-Hui



On 10/28/07, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:
>
> Hi, there,
>
> Is there an easy to find out which version of solr is running.  I
> installed solr 1.2 and set up an instance using Tomcat. It was successful
> before. Today I set up on a different host.  Somehow running the query "*:*"
> doesn't get me the correct results.  Instead it showed parser error. (see
> below)  i had this problem before when using version 1.1.  But i double
> checked my JNDI xml file and it was solr 1.2.0 war being reference there.
> I also checked the build.xml of my plugin which is building against 1.2.0and 
> lucene-core-2007-05-20_00-
> 04-53.jar  (which is used by solr 1.2. and i believe it's lucene 2.1.)
>
> Any idea when went wrong? Thanks a lot.
>
>
>
> org.apache.solr.core.SolrException: Error parsing Lucene query
>       at org.apache.solr.search.QueryParsing.parseQuery
> (QueryParsing.java:102)
>       at 
> org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:109)
>       at org.apache.solr.core.SolrCore.execute(SolrCore.java:595)
>       at org.apache.solr.servlet.SolrServlet.doGet
> (SolrServlet.java:92)
>       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:269)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>       at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:117)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>       at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:870)
>       at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>       at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java
> :528)
>       at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>       at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>       at java.lang.Thread.run
> (Thread.java:595)
> Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse '*:*': 
> '*' or '?' not allowed as first character in WildcardQuery
>       at org.apache.lucene.queryParser.QueryParser.parse
> (QueryParser.java:127)
>       at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:92)
>       ... 19 more
>
>
>
> --
> Regards,
>
> -Hui




-- 
Regards,

-Hui

Reply via email to