RE: Problems with concurrency using Tomcat

2005-06-20 Thread JMA
I will try that thanks -Original Message- From: Fred Vos [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 3:16 AM To: java-user@lucene.apache.org Subject: Re: Problems with concurrency using Tomcat On Sun, Jun 19, 2005 at 07:05:06PM -0400, Joseph MarkAnthony wrote: > > I have been

Strange Error Problem

2005-06-20 Thread Youngho Cho
Hello, I develop our system using lucene 1.4.3 with RemoteSearchable. Currently I got the following error message. But I don't konw why it happend and how to fix it. Could you explain what situation give the following error ??? Thanks. Youngho java.io.IOException: read past EOF at org

Re: Configuration Strategies

2005-06-20 Thread Erik Hatcher
On Jun 20, 2005, at 3:36 PM, Yousef Ourabi wrote: Hello: I have a couple of quesitons on configuration strategies. I have a project where I have to deal with changing search requirements, for example one search may want to use term-vectors to find "keywords like this" or whatever, and the next

Configuration Strategies

2005-06-20 Thread Yousef Ourabi
Hello: I have a couple of quesitons on configuration strategies. I have a project where I have to deal with changing search requirements, for example one search may want to use term-vectors to find "keywords like this" or whatever, and the next may not. Another requirement is that when I call a "s

Re: About the field of PhraseQuery

2005-06-20 Thread Paul Elschot
On Monday 20 June 2005 08:57, Paul Libbrecht wrote: > So why is there no such constructor > PhraseQuery(String fieldName) > and a method >add(Token tok) > ?? Tradition? > That would be much more intuitive I feel! Regards, Paul Elschot > > paul > > > Le 18 juin 05, à 09:44, Paul Elschot

Re: Implicit Stopping in StandardTokenizer??

2005-06-20 Thread Erik Hatcher
On Jun 20, 2005, at 11:48 AM, Max Pfingsthorn wrote: import java.io.Reader; import org.apache.lucene.analysis.standard.StandardTokenizer; import org.apache.lucene.analysis.standard.StandardFilter; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.LowerCaseFilter; imp

Re: Re[4]: md5 keyword field issue

2005-06-20 Thread Erik Hatcher
On Jun 20, 2005, at 10:54 AM, [EMAIL PROTECTED] wrote: Monday, June 20, 2005, 5:48:30 PM, Erik Hatcher wrote: Now you've just said the same conflicting thing a different way. You want to cluster but only return one. :) i think i missunderstood here the Term: cluster. so yes, i just want o

RE: Implicit Stopping in StandardTokenizer??

2005-06-20 Thread Max Pfingsthorn
Hi! Here is the code: import java.io.Reader; import org.apache.lucene.analysis.standard.StandardTokenizer; import org.apache.lucene.analysis.standard.StandardFilter; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.LowerCaseFilter; import org.apache.lucene.analysis.

Re: Implicit Stopping in StandardTokenizer??

2005-06-20 Thread Erik Hatcher
On Jun 20, 2005, at 10:41 AM, Max Pfingsthorn wrote: Hi! I've been trying to make an Analyzer which works like the StandardAnalyzer but without stopping. For some reason though, I still don't get words like "is" or "a" out of it... I checked with Luke (one doc in one index with the conte

Re[4]: md5 keyword field issue

2005-06-20 Thread catalin-lucene
Monday, June 20, 2005, 5:48:30 PM, Erik Hatcher wrote: > Now you've just said the same conflicting thing a different way. You > want to cluster but only return one. :) i think i missunderstood here the Term: cluster. so yes, i just want one image returned. > If you only want one image returned,

Re: Implicit Stopping in StandardTokenizer??

2005-06-20 Thread Mike Barry
Max Pfingsthorn wrote: >Hi! > >I've been trying to make an Analyzer which works like the StandardAnalyzer but >without stopping. For some reason though, I still don't get words like "is" or >"a" out of it... I checked with Luke (one doc in one index with the contents >"hello,this,is,a,keyword,h

Re: IndexHTML.java location

2005-06-20 Thread Erik Hatcher
Brian, The Lucene demo web application is a basic and woefully under- achieving example of Lucene. My recommendation is to dig under the covers a bit deeper and tweak the code to suit your needs, or simply borrow enough pieces to learn the API usage. There is very little actual Lucene-us

Re: Re[2]: md5 keyword field issue

2005-06-20 Thread Erik Hatcher
On Jun 20, 2005, at 9:38 AM, [EMAIL PROTECTED] wrote: Monday, June 20, 2005, 3:55:36 PM, Erik Hatcher wrote: Filters reduce the search space to a subset of the documents in the index. Which document would you want returned when there are multiple documents in the index with the same MD5? Or

Implicit Stopping in StandardTokenizer??

2005-06-20 Thread Max Pfingsthorn
Hi! I've been trying to make an Analyzer which works like the StandardAnalyzer but without stopping. For some reason though, I still don't get words like "is" or "a" out of it... I checked with Luke (one doc in one index with the contents "hello,this,is,a,keyword,hello!,nicetomeetyou". This sho

Re[2]: md5 keyword field issue

2005-06-20 Thread catalin-lucene
Monday, June 20, 2005, 3:55:36 PM, Erik Hatcher wrote: > Filters reduce the search space to a subset of the documents in the > index. Which document would you want returned when there are > multiple documents in the index with the same MD5? Or do you want to > cluster them by MD5? i think clus

Re: md5 keyword field issue

2005-06-20 Thread Erik Hatcher
On Jun 19, 2005, at 5:17 AM, [EMAIL PROTECTED] wrote: Hi there, i have an index with the following infos in it: url - keyword - Field("url", this.url, Field.Store.YES, Field.Index.UN_TOKENIZED); md5 - keyword - Field("md5", this.url, Field.Store.YES, Field.Index.UN_TOKENIZED); alt - Field

Re: Lucene scoring bounds ??

2005-06-20 Thread Erik Hatcher
On Jun 18, 2005, at 7:39 PM, Paul Libbrecht wrote: I read the lucene-book about scoring and read a bit of the javadoc but I can't seem to find somewhere expectations of the bouds for the score value. I had believe the score would end up between 0 and 1 but I seem to keep having values under

RAMDirectory without positions or frequencies?

2005-06-20 Thread eks dev
Hi, I have a need for minimum memory footprint of the index during search (would like to have it in RAM). Good thing in the story, similarity calculation is not necessary, only pure boolean model is OK. I am sure I have seen somewhere one explanation from Doug about disabling norms... but cannot f

tried to access field org.apache.lucene.analysis.Token.termText from class org.apache.lucene.analysis.StopFilter

2005-06-20 Thread Xavier Lembo
Hi list, i'm facing an exception that i don't understand when trying to index a source with the StandardAlayzer everything works fine when i use my french AnalyserFr() , but exception is raised when using the StandardAnalyzer Can somebody help me find the cause of this error because i really ha

Re: Problems with concurrency using Tomcat

2005-06-20 Thread Fred Vos
On Sun, Jun 19, 2005 at 07:05:06PM -0400, Joseph MarkAnthony wrote: > > I have been struggling with this problem for months and have made no > progress. > I have created a simple web app for my Lucene indices that allow the user to > rebuild or update the index. > In the *same* web app (perhaps th

Re: Search for documents where field does not exist?

2005-06-20 Thread John Haxby
Erik Hatcher wrote: On Jun 17, 2005, at 5:54 PM, [EMAIL PROTECTED] wrote: Please do not reply to a post on the list if your message actually isn't a reply. Post a new message instead. Sorry about that.. wasn't intentional.. clicked reply to get the reply address and then forgot to change