Re: Lucene Unicode Usage

2005-02-11 Thread Owen Densmore
Bingo! I used the InputStreamReader and that fixed the index. Boy, tough to catch all the holes through which unicode leaks occur! Owen From: aurora <[EMAIL PROTECTED]> Date: February 9, 2005 11:04:35 PM MST To: lucene-user@jakarta.apache.org Subject: Re: Lucene Unicode Usage So you got a utf8

Re: Negative Match

2005-02-11 Thread Luke Shannon
Thanks Eric. This is indeed the way to go. - Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: "Lucene Users List" Sent: Friday, February 11, 2005 10:25 AM Subject: Re: Negative Match > > On Feb 11, 2005, at 9:52 AM, Luke Shannon wrote: > > > Hey Erik; > > > > The prob

RE: Multiple Fields with same name

2005-02-11 Thread Ramon Aseniero
Hi, Will this feature be available in the future release of Lucene? Thanks, Ramon -Original Message- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 1:25 PM To: Lucene Users List Subject: RE: Multiple Fields with same name Hi, It's been a while since

Re: Multiple Fields with same name

2005-02-11 Thread Erik Hatcher
On Feb 11, 2005, at 3:51 PM, Ramon Aseniero wrote: I have not tried it -- Are there examples on the Lucene book? (I just bought the book and cant find that’s related to my problem) No, this particular item is not covered in the book. My initial response was a succinct way of making a point. A l

RE: Multiple Fields with same name

2005-02-11 Thread Otis Gospodnetic
Hi, It's been a while since I've used that feature, but I believe they will always be in the same order, but I seem to recall that they will be in the reverse order. Whichever way they come, you can always reverse if if the other order is better for you. java.util.Collections class has a number

Re: behavioral differences between Field.Keyword and Field.UnStored

2005-02-11 Thread Otis Gospodnetic
The QueryParser is analyzing your Field.Keyword (genre field) fields, because it doesn't know that genre is a Keyword field and should not be analyzed. Check section 4.4. here: http://www.lucenebook.com/search?query=queryparser+keyword Otis --- Mike Rose <[EMAIL PROTECTED]> wrote: > Perhaps

behavioral differences between Field.Keyword and Field.UnStored

2005-02-11 Thread Mike Rose
Perhaps someone can explain something that seems to be a little weird to me.  I seem to be unable to search on fields of type Keyword.  The following snippet returns no hits….       IndexWriter index = new IndexWriter(indexPath, new StandardAnalyzer(), true);         Docume

RE: Multiple Fields with same name

2005-02-11 Thread Ramon Aseniero
I have not tried it -- Are there examples on the Lucene book? (I just bought the book and cant find that’s related to my problem) Thanks, Ramon -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 7:34 AM To: Lucene Users List Subject: Re: Multi

Re: Newbie questions

2005-02-11 Thread Paul Jans
I've already ordered Lucene in Action :) > There is a LuceneRAR project that is still in its > infancy here: > https://lucenerar.dev.java.net/ I will keep an eye on that for sure. > You can also store a Lucene index in Berkeley DB > (look at the > /contrib/db area of the source code repository

Re: Newbie questions

2005-02-11 Thread Erik Hatcher
On Feb 11, 2005, at 1:36 PM, Erik Hatcher wrote: Find me all users with (a CS degree and a GPA > 3.0) or (a Math degree and a GPA > 3.5). Some suggestions: index degree as a Keyword field. Pad GPA, so that all of them are the form #.# (or #.## maybe). Numerics need to be lexicographically orde

Re: Newbie questions

2005-02-11 Thread Erik Hatcher
On Feb 10, 2005, at 5:00 PM, Paul Jans wrote: A couple of newbie questions. I've searched the archives and read the Javadoc but I'm still having trouble figuring these out. Don't forget to get your copy of "Lucene in Action" too :) 1. What's the best way to index and handle queries like the followi

Re: Multiple Fields with same name

2005-02-11 Thread Erik Hatcher
On Feb 10, 2005, at 11:48 PM, Ramon Aseniero wrote: If I store multiple fields with same name for example “Author” with 3 values “bob,”jane”,”bill” once I retrieve the doc are the values in the same order? Did you try it? :) Erik --

Re: Access Lucene from PHP or Perl

2005-02-11 Thread Bernhard Messer
why not using something like XML/RPC ? Bernhard Greetings. Can anyone point me to a how-to tutorial on how to access Lucene from a web page generated by PHP pr Perl? I've been looking but couldn't find anything. Thanks a lot. And __ Do You Yahoo!? Tir

Re: Negative Match

2005-02-11 Thread Erik Hatcher
On Feb 11, 2005, at 9:52 AM, Luke Shannon wrote: Hey Erik; The problem with that approach is I get document that don't have a kcfileupload field. This makes sense because these documents don't match the prohibited clause, but doesn't fit with the requirements of the system. Ok, so instead of using

Re: BOOLEAN EXCEPTION APPSERVER

2005-02-11 Thread Ronnie
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: "Luc

Re: Negative Match

2005-02-11 Thread Luke Shannon
Hey Erik; The problem with that approach is I get document that don't have a kcfileupload field. This makes sense because these documents don't match the prohibited clause, but doesn't fit with the requirements of the system. What I like best about this approach is it doesn't require a filter. Th

RE: BOOLEAN EXCEPTION APPSERVER

2005-02-11 Thread Karthik N S
Hi Apologies. >> When I said 'defined another BooleanQuery class' I meant actually >> writing another class with the name >> org.apache.lucene.search.BooleanQuery. I'm guessing this isn't the case. No None of my Packages either start or named with the Lucene similar names [I use Eclipse I

RE: BOOLEAN EXCEPTION APPSERVER

2005-02-11 Thread Miles Barr
On Fri, 2005-02-11 at 15:50 +0530, Karthik N S wrote: > Hi > >I have One Jsp [Query.jsp] which constructs Query something like below > > +CLOTHS +(+"SHOES SOCKS") +(PANTS SHIRTS) -COTTON AND itemPrice:[0010 > TO 0020] > > > >>That'd odd. You haven't defined another BooleanQuery cl

RE: BOOLEAN EXCEPTION APPSERVER

2005-02-11 Thread Karthik N S
Hi I have One Jsp [Query.jsp] which constructs Query something like below +CLOTHS +(+"SHOES SOCKS") +(PANTS SHIRTS) -COTTON AND itemPrice:[0010 TO 0020] >>That'd odd. You haven't defined another BooleanQuery class have you? So for the itemPrice Range I use the BooleanQuery >>Al

RE: BOOLEAN EXCEPTION APPSERVER

2005-02-11 Thread Miles Barr
On Fri, 2005-02-11 at 15:22 +0530, Karthik N S wrote: >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.s

RE: BOOLEAN EXCEPTION APPSERVER

2005-02-11 Thread Karthik N S
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

Re: BOOLEAN EXCEPTION APPSERVER

2005-02-11 Thread Miles Barr
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"%> > Bool