DateFilter on UnStored field
Hi! Does DateFilter work on fields indexed as UnStored? Can I filter an UnStored field with values like "2004-11-05" ? Regards, Sanyi __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DateFilter on UnStored field
On Feb 13, 2005, at 13:09, Sanyi wrote: Does DateFilter work on fields indexed as UnStored? Hmmm... never used DateFilter per se... but it should "just" work, like everything else :) Can I filter an UnStored field with values like "2004-11-05" ? Sure. Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DateFilter on UnStored field
Following up on PA's reply. Yes, DateFilter works on *indexed* values, so whether a field is stored or not is irrelevant. However, DateFilter will not work on fields indexed as "2004-11-05". DateFilter only works on fields that were indexed using the DateField. One option is to use a QueryFilter instead, filtering with a RangeQuery. Erik On Feb 13, 2005, at 7:09 AM, Sanyi wrote: Hi! Does DateFilter work on fields indexed as UnStored? Can I filter an UnStored field with values like "2004-11-05" ? Regards, Sanyi __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: BOOLEAN EXCEPTION APPSERVER SOLUTION
Hi Guys Apologies The form was Correct, The problem of CLASS LOADING was or may be a bug with the Version jdk1.4.1 and TOMCAT5.5.3 on Gentoo O/s. So I switched to jdk1.4.2 and every thing seems to be in proper Order as of now. Thx for the advise With regards karthik -Original Message- From: Ronnie [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 4:37 PM To: Lucene Users List Subject: Re: BOOLEAN EXCEPTION APPSERVER Do a search for lucene jars, something like: # find $TOMCAT_HOME/ -name "lucene*.jar" Replace $TOMCAT_HOME with the correct dir to your tomcat installation. Also check the classpath of the user running tomcat. /Ronnie - Original Message - From: "Karthik N S" <[EMAIL PROTECTED]> To: "Lucene Users List" Sent: Friday, February 11, 2005 10:52 AM Subject: RE: BOOLEAN EXCEPTION APPSERVER > Hi > >I removed the Lucene1.4.3.jar from the webapp dir and the result > Exception raised > > > Feb 11, 2005 3:48:26 PM org.apache.catalina.core.ApplicationContext log > SEVERE: Error configuring application listener of class > com.controlnet.servertool.WebContextReporter > java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590) > at java.lang.Class.getConstructor0(Class.java:1762) > at java.lang.Class.newInstance0(Class.java:276) > at java.lang.Class.newInstance(Class.java:259) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: > 3546) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4031) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 > 55) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:886) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:849 > ) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor > t.java:119) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:718) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437) > at > org.apache.catalina.core.StandardService.start(StandardService.java:450) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2009) > at org.apache.catalina.startup.Catalina.start(Catalina.java:538) > > So this mean's I have Only one Copy of Lucene in the Classpath of Tomcat5 > > and The same Exceptions are also avaliable for Windows2000 / Linux gentoo > servers. > > Please Help > > Thx in advance > > -Original Message- > From: Miles Barr [mailto:[EMAIL PROTECTED] > Sent: Friday, February 11, 2005 2:51 PM > To: Lucene Users List > Subject: Re: BOOLEAN EXCEPTION APPSERVER > > > On Fri, 2005-02-11 at 12:20 +0530, Karthik N S wrote: > > I am getting this error on ' Every FIRST SEARCH after Startup of > > the WEBSERVER ' > > > > and I have declared the following code only once in the method of > > execution > > > > > > <%@ page import="org.apache.lucene.search.BooleanQuery"%> > > BooleanQuery.setMaxClauseCount(Integer.MAX_VALUE); > > > > The Exception is as follows > > > > Feb 11, 2005 12:16:42 PM org.apache.catalina.core.StandardWrapperValve > > invoke > > SEVERE: Servlet.service() for servlet jsp threw exception > > java.lang.LinkageError: duplicate class definition: > > org/apache/lucene/search/BooleanQuery > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:502) > > at > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > > at > > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo > ader.java:1626) > > at > > > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav > a:850) > > at > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav > a:1299) > > at > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav > a:1181) > > at > > org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:148) > > at > > org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:69) > > > o/S = Gentoo Linux > > java = 1.4.1 > > Ram = 256 >